[Lazarus] UTF-8 string recognition
Mattias Gaertner
nc-gaertnma at netcologne.de
Sun Feb 28 10:38:43 CET 2010
On Sun, 28 Feb 2010 06:28:38 -0300
Antônio <antoniog12345 at gmail.com> wrote:
> I refer to a text loaded in a SynEdit by the user in which I need to
> make some string manipulations.
Ah, so not a string, but a whole text. See here
http://wiki.lazarus.freepascal.org/Multiplatform_Programming_Guide#Text_encoding
GuessEncoding checks for UTF8, UTF16 and defaults to the system
encoding. It does not yet contain heuristics to distinguish the
various Ansi encodings.
Mattias
More information about the Lazarus
mailing list