When I code test ruby script, it keeps output "(B[m" before my other output, even thought I just have single line puts statement.

Just as follow:

enter image description here

See the "(B[m" before my output text " test". It's really annoying me for a long while. Any help will be preciated!


It occurs at CodeRunner version 1.3.1, and in latest version(2.2.1) I also get a "(B" there!


It looks like a language encoding issue. Check that the space characters at the beginning of the string are actually half-width space, and not Japanese full-width spaces.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .