From: "davispuh (Dāvis Mosāns)" Date: 2013-07-02T05:06:43+09:00 Subject: [ruby-core:55743] [ruby-trunk - Bug #8592][Open] when outputing to console, it's encoding is ignored for Windows Issue #8592 has been reported by davispuh (D��vis Mos��ns). ---------------------------------------- Bug #8592: when outputing to console, it's encoding is ignored for Windows https://bugs.ruby-lang.org/issues/8592 Author: davispuh (D��vis Mos��ns) Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 2.0.0p195 (2013-05-14) [x64-mingw32] Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN =begin for example code #!/usr/bin/env ruby #encoding: utf-8 print "testing ��" when open CMD with changed encoding ie. ((%chcp 1257%)) it wont correctly output ((*��*)) even that encoding and console does support it. also if we change console's encoding to utf-8 with ((%chcp 65001%)) both Ruby versions (1.9 and 2.0) will crash (see attachment) =end -- http://bugs.ruby-lang.org/