From: "davispuh (Dāvis Mosāns)" Date: 2013-08-27T16:28:28+09:00 Subject: [ruby-core:56820] [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). Is it some MinGW lib's fault for this? It's still happening with ruby 1.9.3p448 and 2.0.0p247 seems very similar to #7758 maybe it's even same bug. Those raster fonts acts really weird... BTW, it does crash even if I launch ruby.exe directly from cmd.exe with full path. ---------------------------------------- Bug #8592: when outputing to console, it's encoding is ignored for Windows https://bugs.ruby-lang.org/issues/8592#change-41362 Author: davispuh (D��vis Mos��ns) Status: Third Party's Issue 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/