[Top][All Lists]

[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


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")


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.


Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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