Code Monkey home page Code Monkey logo

Comments (7)

janlelis avatar janlelis commented on August 22, 2024

Thanks for testing :D

What OS, Ruby version and terminal are you using?

from paint.

janlelis avatar janlelis commented on August 22, 2024

It should look like this ;)

       ┌── info ───────────────────────────┐
 J-_-L │ https://github.com/janlelis/paint │
       ├── usage ──────────────────────────┤
       │ require 'paint'                   │
       │ puts Paint['J-_-L', :red] # J-_-L │
       └───────────────────────────────────┘

from paint.

Quintus avatar Quintus commented on August 22, 2024

Sorry for the lack of information, here it is:

OS: Arch Linux, uname -a: Linux ikarus 2.6.39-ARCH #1 SMP PREEMPT Mon Jun 6 22:37:55 CEST 2011 x86_64 Intel(R) Core(TM)2 Duo CPU T5800 @ 2.00GHz GenuineIntel GNU/Linux

ruby -v: ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]

RubyGems version: 1.8.5

Terminal: gnome-terminal 3.0.1

Terminal font is the default "Monospace" font, font size 11.

Vale,
Quintus

from paint.

nogweii avatar nogweii commented on August 22, 2024

The issue Qunitus is having is a terminal related issue. For whatever reason, gnome-terminal doesn't handle the extended drawing characters?

Perhaps something like "UTF-8" mode needs to be turned on for that to work.

from paint.

Quintus avatar Quintus commented on August 22, 2024

Perhaps something like "UTF-8" mode needs to be turned on for that to work.

I think my language settings are quite UTF-8:

$ locale
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=

Shouldn't be the problem therefore.

Valete,
Quintus

PS: Same with sudo:

$ sudo locale
Passwort: 
Sorry, try again.
Passwort: 
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=

from paint.

janlelis avatar janlelis commented on August 22, 2024

Strange - I also use gnome-terminal and don't have the issue (with ubuntu)...

I am closing this thread, because it's not directly related to the gem. However, if you find something interesting about this issue, please (also) post it here ;)

from paint.

vivien avatar vivien commented on August 22, 2024

Hi,
I'm still getting bad things on Fedora 15/Ruby 1.8.7 with this message. I've commented your last commit here: 096bc04#comments
Please consider it carefully :)

from paint.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.