2009-01-04 03:40:26 -05:00
|
|
|
#include "transcode_data.h"
|
|
|
|
|
|
|
|
<%
|
|
|
|
require "big5-tbl"
|
2009-07-24 06:26:18 -04:00
|
|
|
require "big5-hkscs-tbl"
|
2009-11-17 03:56:11 -05:00
|
|
|
require "big5-uao-tbl"
|
2009-01-04 03:40:26 -05:00
|
|
|
|
|
|
|
transcode_tblgen "Big5", "UTF-8", [["{00-7f}", :nomap], *BIG5_TO_UCS_TBL]
|
|
|
|
transcode_tblgen "UTF-8", "Big5", [["{00-7f}", :nomap], *BIG5_TO_UCS_TBL.map {|a,b| [b,a] }]
|
2009-07-24 06:26:18 -04:00
|
|
|
|
|
|
|
transcode_tblgen "Big5-HKSCS", "UTF-8", [["{00-7f}", :nomap], *BIG5_HKSCS_TO_UCS_TBL]
|
|
|
|
transcode_tblgen "UTF-8", "Big5-HKSCS", [["{00-7f}", :nomap], *BIG5_HKSCS_TO_UCS_TBL.map {|a,b| [b,a] }]
|
2009-11-17 03:56:11 -05:00
|
|
|
|
|
|
|
transcode_tblgen "Big5-UAO", "UTF-8", [["{00-7f}", :nomap], *BIG5_UAO_TO_UCS_TBL]
|
|
|
|
transcode_tblgen "UTF-8", "Big5-UAO", [["{00-7f}", :nomap], *BIG5_UAO_TO_UCS_TBL.map {|a,b| [b,a] }]
|
|
|
|
|
2009-01-04 03:40:26 -05:00
|
|
|
%>
|
|
|
|
|
|
|
|
<%= transcode_generated_code %>
|
|
|
|
|
|
|
|
void
|
|
|
|
Init_big5(void)
|
|
|
|
{
|
|
|
|
<%= transcode_register_code %>
|
|
|
|
}
|