UTF-8 encode and decode (Discussion)

Not sure exactly which test you mean?

If you are asking if any Unicode code point greater than U+FFFF will cause an error on Windows with SWI-Prolog when trying to be created as a character or in a string, then that is what I am finding. (ref)

But as I noted in this reply, using SWI-Prolog on Ubuntu on WSL on Windows is working for Unicode code points greater than U+FFFF as far as I can tell, but I literally just started looking into this.

OK, I’ll take a look.

EDIT

I tried to install the package quickcheck but it doesn’t find MinGW for some reason, and I don’t want to spend the day chasing this problem down.

Running this by hand did work.

?- mingw_root(X).
Correct to: "prolog_pack:mingw_root(X)"? yes
X = 'C:/MinGW'.

:slightly_frowning_face: