• Welcome to PlanetSquires Forums.
 

CTextStream possible to read UTF8 with an without BOM?

Started by Upsydaisy, January 09, 2023, 01:39:18 PM

Previous topic - Next topic

Upsydaisy

Hi,

I have been trying out CTextStream and using a UTF8 text file and noticed that the OpenUnicode seems to only work with UTF16 with BOM encoded text.

Can CTextStream work with UTF8 files with or without BOM?

Many thanks

José Roca


Upsydaisy

Quote from: José Roca on January 09, 2023, 07:22:17 PMNo, it only works with ansi or utf-16 files.


Ahh thought that was likely to be the case. Would be nice to consider to be added one time, but I'm sure I can figure a work around for it.