On 24 Jul 2019, at 17:32, Hilaire <hilaire@drgeo.eu> wrote:
Hi Sven,
Le 24/07/2019 à 17:05, Sven Van Caekenberghe a écrit :
Can you include the file that you are trying to load ?
Attached.
It looks like issue come when saving the file. The UTF8 characters are not saved properly. The unix file command was indicating it is an utf8 but Emacs shows it was different.
Also, the stack trace is very short.
Yes, I saw that... I don't know why. I did not cut it. I got a longer one this time. But it is likely not the cause.
Are you sure XML parser is ready for Pharo 8 (i.e. are its tests green) ?
My bad, I am using P7. But I don't know either about the full compatibility of the XMLParser version I am using, the one before compatibility break.
It is now clear the is issue when saving. To write, I use WriteStream on String. Should it be different?
But how do you write it to a file then ? FileLocator desktop / 'hilaire.xml' writeStreamDo: [ :out | out << 'Les élèves Françaises ont 10 â¬' ]. (FileLocator desktop / 'hilaire.xml') contents. ">> 'Les élèves Françaises ont 10 â¬'"
Hilaire
-- Dr. Geo http://drgeo.eu
<test.fgeo><PharoDebug.log>