PlanetSquires Forums

Support Forums => WinFBX - Windows Framework for FreeBASIC => Topic started by: Upsydaisy on January 09, 2023, 01:39:18 PM

Title: CTextStream possible to read UTF8 with an without BOM?
Post by: Upsydaisy on January 09, 2023, 01:39:18 PM
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
Title: Re: CTextStream possible to read UTF8 with an without BOM?
Post by: José Roca on January 09, 2023, 07:22:17 PM
No, it only works with ansi or utf-16 files.
Title: Re: CTextStream possible to read UTF8 with an without BOM?
Post by: Upsydaisy on January 10, 2023, 02:48:55 AM
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.