[Top][All Lists]

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

[Octave-bug-tracker] [bug #56805] Using unrecognized char in text result

From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #56805] Using unrecognized char in text results in infinite warning loop
Date: Tue, 3 Sep 2019 08:56:26 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0

Follow-up Comment #2, bug #56805 (project octave):

Octave uses UTF-8 as its internal encoding. "char(169)" isn't valid UTF-8. You
could use the following code to convert from UTF-16 to UTF-8:

native2unicode([0 169], 'utf-16')

Or similarly from Latin1 to UTF-8:

native2unicode(169, 'latin1').'

Notwithstanding, the error message on the development branch could be

Additionally, it looks like "native2unicode" produces a column vector for a
scalar input which is probably an additional bug.


Reply to this item at:


  Message sent via Savannah

reply via email to

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