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

javascript - How to process users in one specific order using map o each function? -

java - Two interface have same method name with different return type -

javascript - Linking from page A to a specific iframe on page B -