Issue #8592 has been updated by davispuh (D??vis Mos??ns).


yeah, I didn't noticed it at first. But it's still weird why it crashes and that font still does support those characters. Also in Windows those raster fonts are default when it's just fresh installed. User have to specially change them.

----------------------------------------
Bug #8592: when outputing to console, it's encoding is ignored for Windows
https://bugs.ruby-lang.org/issues/8592#change-40364

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/