// Constructor. internal DbcsConvert(string fileName) { using (var table = new CodeTable(fileName)) { n2u = table.GetSection(1); u2n = table.GetSection(2); } }
// Constructor. internal DbcsConvert (string fileName) { using (var table = new CodeTable (fileName)) { n2u = table.GetSection(1); u2n = table.GetSection(2); } }
// Constructor. JISConvert() { // Load the conversion tables. using (var table = new CodeTable("jis.table")) { Jisx0208ToUnicode = table.GetSection(JISX0208_To_Unicode); Jisx0212ToUnicode = table.GetSection(JISX0212_To_Unicode); CjkToJis = table.GetSection(CJK_To_JIS); GreekToJis = table.GetSection(Greek_To_JIS); ExtraToJis = table.GetSection(Extra_To_JIS); } }
// Constructor. JISConvert () { // Load the conversion tables. using (var table = new CodeTable ("jis.table")) { Jisx0208ToUnicode = table.GetSection (JISX0208_To_Unicode); Jisx0212ToUnicode = table.GetSection (JISX0212_To_Unicode); CjkToJis = table.GetSection (CJK_To_JIS); GreekToJis = table.GetSection (Greek_To_JIS); ExtraToJis = table.GetSection (Extra_To_JIS); } }