2 // I18N.CJK.DbcsConvert
5 // Alan Tam Siu Lung (Tam@SiuLung.com)
12 // This class assists other DBCS encoding classes in converting back
13 // and forth between JIS character sets and Unicode. It uses
14 // several large tables to do this, some of which are stored in
15 // the resource section of the assembly for efficient access.
16 internal class DbcsConvert
18 // Public access to the conversion tables.
23 internal DbcsConvert(string fileName
) {
24 using (CodeTable table
= new CodeTable(fileName
)) {
25 n2u
= table
.GetSection(1);
26 u2n
= table
.GetSection(2);