This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.
TLMDWideStrings Save to File issue
Hi
C++ Builder 2007
Using an ElMemo I have this code:
ElMemo1->Lines->UnicodeFormat = sufUTF8;
ElMemo1->Lines->SaveUnicode = true;
ElMemo1->Lines->SaveToFile("Test.txt");
But the file is saved as UTF-16 but with UTF-8 Widestrings inside, which makes it unreadable...
Is this a bug or do I have to use UTF-16 if I want to save the file? If that is how it's designed then may I raise a request to be able to save as UTF-8? UTF-8 is almost universally used whereas UTF-16 is very rare (in my experience)...
Andy

Comments