Project

General

Profile

Actions

Bug #9019

closed

encoding: EUC-KR or EUC-JP does not seem to work

Bug #9019: encoding: EUC-KR or EUC-JP does not seem to work

Added by sarsntony (Hanwool Lee) about 12 years ago. Updated over 11 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
2.0.0
[ruby-core:57846]

Description

#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.

Updated by nobu (Nobuyoshi Nakada) about 12 years ago Actions #1 [ruby-core:57847]

  • Status changed from Open to Feedback

Is that file saved in EUC-KR?

Updated by sarsntony (Hanwool Lee) about 12 years ago Actions #2 [ruby-core:57859]

The file type was the problem, not the #encoding comment. sorry for the confusion.

Updated by nobu (Nobuyoshi Nakada) over 11 years ago Actions #3 [ruby-core:62421]

  • Description updated (diff)
  • Status changed from Feedback to Rejected
Actions

Also available in: PDF Atom