Why is there :
   S:= UTF8Decode(Text);
   ...
   Result:= UTF8Encode(S);
Seems it can be just "S:= Text", "Result:= S". but I had problems without UTF8Encode/decode in my apps before. On Windows. It was FPC 2.6.4.

Please also look at function ShortDisplayFilename() in unit IDEProcs.
It is more simple..

--
Regards,
Alexey

--
_______________________________________________
lazarus mailing list
[email protected]
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to