10-03-2017, 11:15 AM
Hello to all!
I am attempting to read Ascii files into Scheme. For some reason unknown to me, accented letters (ExtendedASCII) are ignored.
I am using the following statements:
(read inFile) will properly read words with punctuation.
But lines like :
Lods: redevance féodale
Tourer: préparer pâte feuilletée
will be read in as :
Lods: redevance fodale
Tourer: prparer pte feuillete
Labelling of layers/channels/LayerGroups, in stand-alone scripts I have programmed, have shown no difficulties with accented letters.
What is missing from my code above?
Thanks in advance,
Nicolas Beaudet
P.S.
Gimp.2.8.22 / Windows 10 64-bit / Notepad++ as Script editor.
I am attempting to read Ascii files into Scheme. For some reason unknown to me, accented letters (ExtendedASCII) are ignored.
I am using the following statements:
Code:
(define inFile (open-input-file "E:/SomeFile.txt"))
(read inFile)
But lines like :
Lods: redevance féodale
Tourer: préparer pâte feuilletée
will be read in as :
Lods: redevance fodale
Tourer: prparer pte feuillete
Labelling of layers/channels/LayerGroups, in stand-alone scripts I have programmed, have shown no difficulties with accented letters.
What is missing from my code above?
Thanks in advance,
Nicolas Beaudet
P.S.
Gimp.2.8.22 / Windows 10 64-bit / Notepad++ as Script editor.