Assign File lazarus / 9-Editor ---------------------------------------------------------------------- DENAT · 2009-07-02 12:42 Hello. I have some problems with Assigfile using. var   plik : system.text;   s: string; begin     AssignFile(plik,Form1.OpenDialog1.FileName);     reset(plik);     readln(plik,s);     Shomessage(s);     CloseFile(plik);    end; When line in textfile has polish signs ShowMessage shows empty text.  Can you help me with this? ---------------------------------------------------------------------- theo · 2009-07-02 12:47 Try: Shomessage(SysToUTF8(s)); ---------------------------------------------------------------------- DENAT · 2009-07-02 13:39 Thank You. It works. ---------------------------------------------------------------------- theo · 2009-07-02 15:30 Read more here: http://wiki.lazarus.freepascal.org/LCL_Unicode_Support