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.Why is there : S:= UTF8Decode(Text); ... Result:= UTF8Encode(S);
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
