Bug #603

NKFの結果と文字列が連結できない

Added by xibbar (Takeyuki Fujioka) over 3 years ago. Updated about 1 year ago.

[ruby-dev:36575]
Status:Closed Start date:09/26/2008
Priority:Normal Due date:
Assignee:naruse (Yui NARUSE) % Done:

100%

Category:ext
Target version:1.9.0-5
ruby -v:

Description

irb(main):009:0> "あああ".encode("EUC-JP")+NKF.nkf("-We","いいい")
Encoding::CompatibilityError: incompatible character encodings: EUC-JP and eucJP-nkf
	from (irb):9
	from /Users/fujioka/local/bin/irb19:12:in `<main>'

Associated revisions

Revision 19675
Added by naruse (Yui NARUSE) over 3 years ago

* ext/nkf/nkf.c (rb_nkf_enc_get): don't replicate encoding. [ruby-dev:36575]

History

Updated by yugui (Yuki Sonoda) over 3 years ago

  • Target version set to 1.9.0-5

Updated by naruse (Yui NARUSE) over 3 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100
Applied in changeset r19675.

Also available in: Atom PDF