diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | enc/trans/utf8_mac.trans | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -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 diff --git a/enc/trans/utf8_mac.trans b/enc/trans/utf8_mac.trans index 76c0a1595f..66500d82ff 100644 --- a/enc/trans/utf8_mac.trans +++ b/enc/trans/utf8_mac.trans @@ -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], |