Issue #9019 has been reported by sarsntony (Hanwool Lee).

----------------------------------------
Bug #9019: encoding: EUC-KR or EUC-JP does not seem to work
https://bugs.ruby-lang.org/issues/9019

Author: sarsntony (Hanwool Lee)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: 2.0.0
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


#encoding: euc-kr
puts "??????" 

ABOVE CODE returns test.rb:2: invalid multibyte char (EUC-KR)

#encoding: utf-8
puts "??????" 

ABOVE CODE returns ??????

similar behavior on euc-jp as well.


-- 
http://bugs.ruby-lang.org/