Am 26.02.2019 um 19:12 schrieb Bart: > This leaves my initial "itch": input strings are CP_ACP (so can be > anything), output strings are CP_UTF8 always. Unless your DefaultSystemCodePage is CP_UTF8 (in which case UTF8Encode is not needed), the next action on the string will convert away from UTF8 anyways.
String codepages are not stable, there is almost never a point in explicitly setting one... -- Regards, Martok _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel