TEdit and Unicode/UTF8 again lazarus / 31-LCL ---------------------------------------------------------------------- hy · 2017-11-15 16:49 When entering a string into a TEdit special characters are converted to questionmarks. Code: [Select] unit foo; {...}    {$MODE OBJFPC}{$J-} var     eName : TEdit;     MyString: string; begin {...} MyString := eName.text; {...} end; If I enter the following string into the TEdit: 'the urbanización registered 23° today' I get 'the urbanizaci??n registered 23? today' Debugger shows the same with question marks for eName.FCaption ... Thanks in Advance ---------------------------------------------------------------------- FTurtle · 2017-11-15 17:02 Strings in your module are short strings. Add {$H+} ---------------------------------------------------------------------- hy · 2017-11-15 17:10 thanks I did add $H+ but it is the same ---------------------------------------------------------------------- wp · 2017-11-15 17:35 You must upload a small project showing the issue (only pas, lfm, lpr and lpi file, all in one zip). Otherwise it's hard to tell. ---------------------------------------------------------------------- hy · 2017-11-15 18:29 If I strap it down to the minimum it works as expected. This will be getting hard... )-;