using Chonla.ThaiEncoding;
// ...
byte[] tis620Bytes = File.ReadAllBytes("tis620text.txt");
FileStream fs = File.OpenWrite("utf8out.txt");
byte[] b = Convert.ToUTF8(tis620Bytes);
fs.Write(b, 0, b.Length);
fs.Close();
nobita3001 / dotnet-thai-charset-conversion Goto Github PK
View Code? Open in Web Editor NEWThis project forked from chonla/dotnet-thai-charset-conversion
Convert TIS620 to UTF8 back and forth with .NET Core