On Sun, 28 Feb 2010 00:46:12 -0300
Antônio <[email protected]> wrote:

> There is no way to determine whether a string is in ANSI format or not?

In general: No, because every 8bit combination is valid.
In specific case: Not every combination makes sense. So you can write
heuristics.

You should save/define the encoding of a string. For example all
strings in the LCL are UTF-8.

Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to