mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* enc/trans/chinese.trans: added for transcoding EUC-CN and GB12345.
* enc/trans/GB/: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d11950cbad
commit
2920aaa2d1
6 changed files with 30337 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
Sat Jan 3 15:30:09 2009 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* enc/trans/chinese.trans: added for transcoding EUC-CN and GB12345.
|
||||
|
||||
* enc/trans/GB/: ditto.
|
||||
|
||||
Sat Jan 3 15:26:30 2009 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* enc/trans/euc-cn.c: renemed from gb2312.c because GB2312 is
|
||||
|
|
7618
enc/trans/GB/GB12345%UCS.src
Normal file
7618
enc/trans/GB/GB12345%UCS.src
Normal file
File diff suppressed because it is too large
Load diff
7535
enc/trans/GB/GB2312%UCS.src
Normal file
7535
enc/trans/GB/GB2312%UCS.src
Normal file
File diff suppressed because it is too large
Load diff
7620
enc/trans/GB/UCS%GB12345.src
Normal file
7620
enc/trans/GB/UCS%GB12345.src
Normal file
File diff suppressed because it is too large
Load diff
7531
enc/trans/GB/UCS%GB2312.src
Normal file
7531
enc/trans/GB/UCS%GB2312.src
Normal file
File diff suppressed because it is too large
Load diff
27
enc/trans/chinese.trans
Normal file
27
enc/trans/chinese.trans
Normal file
|
@ -0,0 +1,27 @@
|
|||
#include "transcode_data.h"
|
||||
|
||||
<%
|
||||
transcode_tblgen "EUC-CN", "UTF-8",
|
||||
[["{00-7f}", :nomap]] +
|
||||
citrus_decode_mapsrc("euc", 0x8080, "GB2312/UCS")
|
||||
|
||||
transcode_tblgen "GB12345", "UTF-8",
|
||||
[["{00-7f}", :nomap]] +
|
||||
citrus_decode_mapsrc("euc", 0x8080, "GB12345/UCS")
|
||||
|
||||
transcode_tblgen "UTF-8", "EUC-CN",
|
||||
[["{00-7f}", :nomap]] +
|
||||
citrus_decode_mapsrc("euc", 0x8080, "UCS/GB2312")
|
||||
|
||||
transcode_tblgen "UTF-8", "GB12345",
|
||||
[["{00-7f}", :nomap]] +
|
||||
citrus_decode_mapsrc("euc", 0x8080, "UCS/GB12345")
|
||||
%>
|
||||
|
||||
<%= transcode_generated_code %>
|
||||
|
||||
void
|
||||
Init_chinese(void)
|
||||
{
|
||||
<%= transcode_register_code %>
|
||||
}
|
Loading…
Reference in a new issue