From: Chris Lervag Date: 2011-12-15T20:27:08+09:00 Subject: Re: Encoding woes with command promt output Heesob Park wrote in post #1036844: > It seems that the actual encoding of test.rb is not CP850 but UTF-8. > > The string "æøå" is encoded as "\xC3\xA6\xC3\xB8\xC3\xA5" in UTF-8. Well, I've tried marking the file with # Encoding: UTF-8 as well, but it still doesnt help me getting my "æøå" string printed properly to the screen. So my problem remains, how do I need to configure this so that a string like "æøå" in my Ruby file gets printed, and not having to use the 'ugly' hex injections? Thanks, Chris -- Posted via http://www.ruby-forum.com/.