TFileNameEdit with files containing non-english characters? lazarus / 5-Lazarus Extra Components ---------------------------------------------------------------------- SirLucifer · 2010-01-16 12:06 I am trying to make a simple fileselection dialog, using TFileNameEdit. It seems to be working fine until I choose a path/file containing non- english (swedish 'å' 'ä' 'ö' 'Å' 'Ä' 'Ö'), when I get these "mysterious" characters replaced with two (!!) characters in the #160-#190 range. Not even close to the ASCII codes that should be. Anyone have a solution for this?  (Other than changing the whole Swedish language...  ) B.t.w. Swedish characters are present in the extended ASCII (#128-#255) Regards ---------------------------------------------------------------------- clauslack · 2010-01-16 13:08 Try with Utf8ToSys Code: [Select]Utf8ToSys(OpenDialog1.FileName) Regards ---------------------------------------------------------------------- SirLucifer · 2010-01-16 15:19 Thanks! That did the trick.  Regards