TStringList.LoadFromFile error with folder with accentuated name lazarus / 34-Windows ---------------------------------------------------------------------- euMesmo · 2015-02-26 01:21 Hi everybody, I'm using Lazarus 1.2.6 and W7. This is my problem: In my program I have this: procedure TForm1.FormCreate(Sender: TObject); var   fichero: TStringList; begin   fichero:= TStringList.Create;   try     fichero.LoadFromFile(UTF8ToAnsi(ExtractFilePath(Application.ExeNam e)+'app.cfg'));     Memo1.Lines.Assign(fichero);   finally     fichero.Free;   end; end; "exe" file and "cfg" file are in the same folder. If this folder not contains accentuated letter as"ó" it works fine. If I change the folder name to "Aplicación", program gives message error to open file. This code in linux works fine. Can you help me?. Thanks. Excuseme my poor english ---------------------------------------------------------------------- eny · 2015-02-26 10:55 Does it work without 'UTF8ToAnsi'? ---------------------------------------------------------------------- euMesmo · 2015-02-26 11:37 Yes, it works, thank you very much