From: "davispuh (Dāvis Mosāns)" Date: 2013-07-02T06:23:30+09:00 Subject: [ruby-core:55746] [ruby-trunk - Bug #8592] when outputing to console, it's encoding is ignored for Windows Issue #8592 has been updated by davispuh (D��vis Mos��ns). =begin yeah, same result (()) maybe it's something to do because I've localized version of Windows 8? =end ---------------------------------------- Bug #8592: when outputing to console, it's encoding is ignored for Windows https://bugs.ruby-lang.org/issues/8592#change-40242 Author: davispuh (D��vis Mos��ns) Status: Feedback Priority: Normal Assignee: cruby-windows 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/