Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scheme: reading Extended ASCII files
#1
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:


Code:
(define inFile (open-input-file "E:/SomeFile.txt"))
(read inFile)
(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.
Reply


Messages In This Thread
Scheme: reading Extended ASCII files - by nbeaudet - 10-03-2017, 11:15 AM

Forum Jump: