wagenheimer
20-12-2011, 01:39 PM
Hi Guys!
I'm having some strange problems loading a Text File with Japanese Characters saved like UTF8.
I need to load it to a stringlist and proccess it line by line.
I have this simple code:
AStringList.LoadFromFile(AFileName);
for AIndex := 0 to AStringList.Count - 1 do
begin
ALine := AStringList[AIndex];
Proccess(ALine);
end;
This code works on Windows/Mac but does not works on iOS.
What do you suggest? Do I realy have to save the txt file like UTF8 or do I need to use something else?
I'm having some strange problems loading a Text File with Japanese Characters saved like UTF8.
I need to load it to a stringlist and proccess it line by line.
I have this simple code:
AStringList.LoadFromFile(AFileName);
for AIndex := 0 to AStringList.Count - 1 do
begin
ALine := AStringList[AIndex];
Proccess(ALine);
end;
This code works on Windows/Mac but does not works on iOS.
What do you suggest? Do I realy have to save the txt file like UTF8 or do I need to use something else?