[Lazarus] [fpc-pascal] Tests results of several pascal based JSON parsers
Michael Van Canneyt
michael at freepascal.org
Fri Aug 30 23:02:03 CEST 2019
On Fri, 30 Aug 2019, Bart via lazarus wrote:
> On Fri, Aug 30, 2019 at 9:09 PM Bart <bartjunk64 at gmail.com> wrote:
>
>> On Windows it prints FALSE, both with 3.0.4 and trunk r42348
>
> It fails on both comparisons (hexadecimal representation of the
> returned unicodestrings):
>
> Name : 004A 006F 0065 003F 0053 0063 0068 006D 006F 0065
> Expected: 004A 006F 0065 00AE 0053 0063 0068 006D 006F 0065
> 00AE is replaced by 003F (a questionmark IIRC)
>
> Occupation: 0062 0061 006E 006B 0020 0074 0065 006C 006C 0065 0072
> 0020 003F 0020
> Expected: 0062 0061 006E 006B 0020 0074 0065 006C 006C 0065 0072 0020 00AE 0020
>
> Same replacement there.
Can you try setting defaultsystemcodepage to UTF8 ?
Michael.
More information about the lazarus
mailing list