Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/02/2009 at 10:26, xxxxxxxx wrote:
User Information: Cinema 4D Version: R9.6-R11 Platform: Windows ; Mac ; Mac OSX ; Language(s) : C++ ;
--------- Anyone have any code or links to code on how to read a text file which may contain UTF-8 encoded (no BOM) text?
I have found one possible code at ExpertsExchange but will need to test it. Problem is that the usual response for C++ is 'iostream' with 'codecvt_facet' (blah, blah). I'm using BaseFile with ReadByte() to read the file line by line. So these standard library alternatives aren't going to work. And I don't want to deal with any system implementation differences.
Thanks,