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();
chonla/dotnet-thai-charset-conversion
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Convert TIS620 to UTF8 back and forth with .NET Core
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published