1#include "transcode_data.h"
2
3<%
4  require "gbk-tbl"
5
6  transcode_tblgen "GBK", "UTF-8", [["{00-7f}", :nomap], *GBK_TO_UCS_TBL]
7  transcode_tblgen "UTF-8", "GBK", [["{00-7f}", :nomap], *GBK_TO_UCS_TBL.map {|a,b| [b,a] }]
8%>
9
10<%= transcode_generated_code %>
11
12TRANS_INIT(gbk)
13{
14<%= transcode_register_code %>
15}
16