ruby - print unicode charcater to Rubymine console -


so want print hebrew character, unicode value of \u{fb20} rubymine console, common output hello world typically go if run puts 'hello world'.

the code trying run puts "\u{fb20}", nothing crazy.

rubymine set default system encoding both projectg , ide levels, , have tried setting encoding utf-8 , utf-16, neither of these 3 setting print character correctly console.

i ﬠ printed console @ moment, not right character. right character .

try encoding character in ruby, , printing it.

symbol = "\ufb20" puts symbol.encode('utf-16') 

and change rubymine encoded in utf-16


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -