Kconv::toeuc

e$BBg86$G$9!#e(B

Kconv::toeuc e$B$G$9$,!"e(B
NKF e$B$Ne(B MIME e$B%G%3!<%I$7$J$$%*%W%7%g%se(B (-m0)
e$B$,$D$$$F$7$^$C$F$$$k$h$&$G$9!#e(B

e$B$*$=$i$/!“e(B 2006-06-19 e$B$Ne(B revert
e$B$GO3$l$,$”$C$?$N$G$O$J$$$+$H;W$$$^$9!#e(B
tojis, tosjis, toutf8, kconv e$B$K$Oe(B (e$B@5$7$/e(B) -m
e$B$,IU$$$F$$$^$9!#e(B

diff -ur ruby-1.8.5.orig/ext/nkf/lib/kconv.rb
ruby-1.8.5/ext/nkf/lib/kconv.rb
— ruby-1.8.5.orig/ext/nkf/lib/kconv.rb Mon Jun 19 23:52:54 2006
+++ ruby-1.8.5/ext/nkf/lib/kconv.rb Wed Sep 6 11:38:09 2006
@@ -156,7 +156,7 @@

convert halfwidth katakana to fullwidth katakana.

If you don’t want it, use NKF.nkf(‘-exm0’, str).

def toeuc(str)

  • ::NKF::nkf(‘-em0’, str)
  • ::NKF::nkf(‘-em’, str)
    end
    module_function :toeuc

OHARA Shigeki (e$BBg86e(B e$B=E<ye(B) [email protected]

e$B@.@%$G$9!#e(B

OHARA Shigeki wrote:

e$BBg86$G$9!#e(B

Kconv::toeuc e$B$G$9$,!"e(B
NKF e$B$Ne(B MIME e$B%G%3!<%I$7$J$$%*%W%7%g%se(B (-m0) e$B$,$D$$$F$7$^$C$F$$$k$h$&$G$9!#e(B

e$B$*$=$i$/!“e(B 2006-06-19 e$B$Ne(B revert e$B$GO3$l$,$”$C$?$N$G$O$J$$$+$H;W$$$^$9!#e(B
tojis, tosjis, toutf8, kconv e$B$K$Oe(B (e$B@5$7$/e(B) -m e$B$,IU$$$F$$$^$9!#e(B

e$B$&!"3N$+$KO3$l$F$^$9$M!#e(B
1.8 e$B$He(B 1.9 e$B$G=$@5$7$^$7$?!#e(B