From: Gabriel Lichard Date: 2010-11-11T23:15:18+09:00 Subject: Re: Short question about encoding. > Are you perhaps sending the output to a device that does not understand UTF-8? I'm guessing that's the issue. Although, I'm on Windows 7 and in the Command Prompt I can copy/paste the "√" character and it appears fine in the Courier New font and everything, when I run Ruby (Ruby 1.9.2p0) or irb I can't copy/paste that character anymore. When I save this in a file and run it: s = "√" p s puts s it outputs: "\u221A" ΓêÜ But then again when I just do: File.open("test.txt", "w"){|x|x << "√"} and run it, it makes the test.txt file and saves it without any problems and with the actual square root character in the file. Any idea what I'm doing wrong or why it won't appear in the console? -- Posted via http://www.ruby-forum.com/.