help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fscanf and special characters


From: CdeMills
Subject: fscanf and special characters
Date: Tue, 22 Jun 2010 00:41:07 -0700 (PDT)

Hello,

while reading a file with in = fscanf(fid, "%c");

I got the warning message "range error for conversion to character value",
because the file starts with, in hex, "0xEF 0xEB 0xBF" whose ascii names are 
meta-something. Those values are not used inside my program, so it does no
harm, but in general, are there problems in Octave with those high values
ascii characters ? I tried f.i.
a = 'é'; printf("%02x ", a)
octave> c3 a9
meaning Octave seems to use UTF-8 internally.

Regards

Pascal
-- 
View this message in context: 
http://octave.1599824.n4.nabble.com/fscanf-and-special-characters-tp2263736p2263736.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]