Closed tothpaul closed 2 years ago
Hello, Paul.
Thank you! I'll fix it. (Sorry for the late reply—I had covid.)
I hope you recover quickly !
Thank you again!
I fixed this and added a global default encoding setting for non-ISO character instead of the hardcoded ENCODING_UTF8_NOBOM
Hello,
in TEncoder.Append8BitBytes the BOM is added for EncodeOptions = 4 while ENCODING_UTF8_BOM = 5
you should use ENCODING_xxx constants in TEncoder.ChooseMode()
and in TEncoder.Append8BitBytes() to avoid the bug :)
if EncodeOptions = ENCODING_XXX