mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/nkf/lib/kconv.rb (Kconv::toeuc): remove -m0 [ruby-dev:29505]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
847c10fa3e
commit
103f6728df
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Wed Sep 06 12:05:19 2006 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
|
* ext/nkf/lib/kconv.rb (Kconv::toeuc): remove -m0 [ruby-dev:29505]
|
||||||
|
|
||||||
Tue Sep 5 22:06:43 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Tue Sep 5 22:06:43 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* ext/tk/tcltklib.c: use rb_ary_new3() since RARRAY_LEN() is not l-value.
|
* ext/tk/tcltklib.c: use rb_ary_new3() since RARRAY_LEN() is not l-value.
|
||||||
|
|
|
@ -156,7 +156,7 @@ module Kconv
|
||||||
# convert halfwidth katakana to fullwidth katakana.
|
# convert halfwidth katakana to fullwidth katakana.
|
||||||
# If you don't want it, use NKF.nkf('-exm0', str).
|
# If you don't want it, use NKF.nkf('-exm0', str).
|
||||||
def toeuc(str)
|
def toeuc(str)
|
||||||
::NKF::nkf('-em0', str)
|
::NKF::nkf('-em', str)
|
||||||
end
|
end
|
||||||
module_function :toeuc
|
module_function :toeuc
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue