[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[octave 2.1] fopen & reading 8 bit chars...
From: |
fred |
Subject: |
[octave 2.1] fopen & reading 8 bit chars... |
Date: |
Fri, 29 Apr 2005 22:35:15 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050324 Debian/1.7.6-1 |
Hi,
Since dev release (works fine with 2.0.*), I have a problem with this
minimal octave script, reading accented character :
marsu[pts/2]:~/tmp/{41}/> cat essai.m
function essai()
file = fopen("essai.txt","rt");
s = fgets(file)
foo = sscanf(s, "un été : %d")
endfunction
address@hidden:~/tmp/{1}/> essai
s = un été : 1
foo = [](0x1)
Is it a known bug ? Or is there a trick to do ?
Thanks in advance.
--
Fred.
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- [octave 2.1] fopen & reading 8 bit chars...,
fred <=