[Lazarus] Donate function ShortenStringEx to LCL

AlexeyT aaa5500 at ya.ru
Thu Dec 6 16:30:40 CET 2018


> 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



More information about the Lazarus mailing list