This issue seems to be still open after one year. There was a proposed fix: https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/158. However the discussion seems to tail off without an obvious resolution.

This is a clear bug in fpwidestring and needs to be fixed. What is the status?

A workaround using the Trim function seems to work (e.g. Trim(AnsiUpperCase(s))) - I am just not sure if it works all the time.

Tony

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to