TextAnalysisTool / Releases

Repository for storing release artifacts (ex: binaries).
88 stars 26 forks source link

Add language/encoding detection when opening files [When there is Chinese in the log, it will be garbled.] #58

Closed sincelh closed 1 year ago

sincelh commented 5 years ago

When there is Chinese in the log, it will be garbled.

vincec-msft commented 5 years ago

See #42. Is this the same issue?

sincelh commented 5 years ago

It’s a bit similar, but not exactly the same. My log is encoded in GB2312, not UTF-8.

DavidAnson commented 5 years ago

The same idea applies. If you add a UTF8 or Unicode BOM, it should open and display correctly.

sincelh commented 5 years ago

It seems to display correctly, but it must be modified every time, which is a bit of a hassle. Can you let it automatically detect the encoding format?

DavidAnson commented 5 years ago

Language detection can be difficult. If you can change the creation of these files to output the BOM, it would benefit other tools as well. I will leave this open as a feature request. Thank you!

DavidAnson commented 1 year ago

This should be fixed in the 2023-03-24 release available via https://textanalysistool.github.io/.