diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-05 00:05:11 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-05 00:05:11 +0000 |
commit | 414d5071ff87e4ef65bad838f8217643e483ae78 (patch) | |
tree | 92457456e449c01a80d9dbaf543ffaef4c20803b /enc | |
parent | 7d8615882a1ee4f624fe7efaf829dbb5c73a098b (diff) | |
download | ruby-414d5071ff87e4ef65bad838f8217643e483ae78.tar.gz ruby-414d5071ff87e4ef65bad838f8217643e483ae78.tar.xz ruby-414d5071ff87e4ef65bad838f8217643e483ae78.zip |
Fix: DON'T move in_p because before in_p is replaced by buffered data.
* transcode.c: NOMAP is now multibyte direct map.
* transcode.c: remove ASIS.
* transcode_data.h: ditto.
* tool/transcode-tb (ActionMap#generate_info): remove :asis.
* tool/transcode-tb (ActionMap#generate_info): add :nomap0.
* enc/trans/utf8_mac.trans: replace :asis by :nomap0.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc')
-rw-r--r-- | enc/trans/utf8_mac.trans | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/enc/trans/utf8_mac.trans b/enc/trans/utf8_mac.trans index b8c8f8988..5a12b59f0 100644 --- a/enc/trans/utf8_mac.trans +++ b/enc/trans/utf8_mac.trans @@ -6,13 +6,13 @@ transcode_tblgen("UTF-8", "UTF8-MAC", MAC_DECOMPOSE_TBL + [ ["{00-7F}", :nomap], - ["{c2-df}{80-bf}", :asis], - ["e0{a0-bf}{80-bf}", :asis], - ["{e1-ec}{80-bf}{80-bf}", :asis], - ["ed{80-9f}{80-bf}", :asis], - ["{ee-ef}{80-bf}{80-bf}", :asis], - ["f0{90-bf}{80-bf}{80-bf}", :asis], - ["{f1-f3}{80-bf}{80-bf}{80-bf}", :asis], + ["{c2-df}{80-bf}", :nomap0], + ["e0{a0-bf}{80-bf}", :nomap0], + ["{e1-ec}{80-bf}{80-bf}", :nomap0], + ["ed{80-9f}{80-bf}", :nomap0], + ["{ee-ef}{80-bf}{80-bf}", :nomap0], + ["f0{90-bf}{80-bf}{80-bf}", :nomap0], + ["{f1-f3}{80-bf}{80-bf}{80-bf}", :nomap0], ]) map = {} |