1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* enc/trans/utf8_mac.trans: get rid of a 1.9 feature for cross

compile.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-04-30 06:27:51 +00:00
parent f7bfe5f2df
commit 8543ecee53
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Thu Apr 30 15:27:49 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* enc/trans/utf8_mac.trans: get rid of a 1.9 feature for cross
compile.
Thu Apr 30 11:35:30 2009 NARUSE, Yui <naruse@ruby-lang.org>
* encoding.c (rb_filesystem_encoding): Change filesystem_encoding of

View file

@ -7,8 +7,8 @@
str.unpack("H*")[0]
end
transcode_tblgen("UTF-8", "UTF8-MAC", [
*MAC_DECOMPOSE_TBL.map{|k,v|[hexstr(k), hexstr(v)]},
transcode_tblgen("UTF-8", "UTF8-MAC",
MAC_DECOMPOSE_TBL.map{|k,v|[hexstr(k), hexstr(v)]} + [
["{00-7F}", :nomap],
["{c2-df}{80-bf}", :asis],
["e0{a0-bf}{80-bf}", :asis],