SWI-Prolog / packages-semweb

The SWI-Prolog RDF store
29 stars 15 forks source link

PORT: deal with utf16 chars > 0x0000FFFF #108

Closed mgondan closed 1 year ago

JanWielemaker commented 1 year ago

Thanks. Doesn't work as is. "pl-utf8.h" should not be on the search path and needs more support. On the other hand, we need only a tiny inline function from it, so I simply copy pasted that into the semweb ntriples.c file. We also must figure out that wchar_t is UTF-16 and not UCS-4. Copied the same thing to turtle.c.

Nice improvement!

Fixed with commit 5979c07a0a8f9f8214f3182c6b6fad08bc9eeecb

mgondan commented 1 year ago

Thanks Jan. Now the unit tests pass under MSYS2.