[Top][All Lists]

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

[Octave-bug-tracker] [bug #52681] Bad reading for UTF-8 characters with

From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #52681] Bad reading for UTF-8 characters with fscanf()
Date: Sun, 17 Dec 2017 17:10:18 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #9, bug #52681 (project octave):

Actually there is a more direct route to textscan() that issues no warnings:

fid = fopen('p1.txt', 'r');
[header] = textscan(fid, '%s', 3){1};
[pais capital poblacion] = deal(textscan(fid, '%s%s%d'){:});

People reading UTF-8 must be going that route.  That internal string
conversion behavior has been in place for ages.  Strange no one reading UTF-8
has mentioned in the recent past the fscanf() limitation.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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