Marcos Douglas B. Santos 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.
There are some heuristics you could try to apply (see e.g. http://chsdet.sourceforge.net ), but in general it is impossible to know for sure what encoding has been used. Jonas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal