Einzelnen Beitrag anzeigen

Kas Ob.

Registriert seit: 3. Sep 2023
386 Beiträge
 
#21

AW: Desaströse Performance von TRichedit

  Alt 12. Sep 2024, 17:00
What about this
And this is supposed to work in a Delphi since 2009?

SendMessage = SendMessageW = Unicode
Is your file also Unicode?
Yes after re-reading more, i think WM_SETTEXT with Delphi 5 or may be even Delphi 7 might not work, as it will fail to handle the BOM marker for UTF16, as the used RichEdit class is version 1.0 and it is
Zitat:
ANSI (single-byte character set (SBCS) and multibyte character set (MBCS)) editing
So will work if the class changed to version 2.0, yet i might be wrong though, all in all this need more digging.
Kas
  Mit Zitat antworten Zitat