On 10/17/16, Marcos Douglas B. Santos <m...@delfire.net> wrote:

> Is there a way to know what encoding was used at a string?
>
> My system are receiving some files and I don't know the encoding.
> I would like to know and then, convert it.

As explained there is no certain way.
Lazarus comes with lconvencoding unit which has a guessencoding function.
Maybe this can be of some help to you?

(Ruling out a string is UTF8 (compatible) can be done 100%)

Bart
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to