Hi
Yup, but that doesn't help if your file on disc is cpiso8859-1, then your TEncoding.UTF8 will try to load it as UTF8 and that produces ? ? ?
Somewhere in lazutils there's a function "DetectCodepage" or "GuessCodepage/Encoding", which will try to find the right cp.
...or try something like this:
function ISO_8859_15ToUTF8(const s: string): string;
from LConvEncoding on the string when you have loaded it(without TEncoding.UTF8)...
Regards Benny