[Top][All Lists]

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

[Octave-bug-tracker] [bug #49222] octave-io 2.4.3: xls2oct with "OCT" i

From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #49222] octave-io 2.4.3: xls2oct with "OCT" interface lost the ability to read german umlauts or °
Date: Wed, 12 Oct 2016 15:34:47 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0

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

The problem here is that tidyxml does not convert UTF-8 to Unicode.

Additionally, Octave does not support Unicode. The highest char that does not
fail is char(255). Nonetheless, these characters seem to map correctly on my
system (Windows 10, German locale).

Attached is a patch for tidyxml that converts double byte UTF-8 characters to
Unicode (and drops multi-byte chars with more than two bytes because Octave
doesn't support Unicode anyway). With this approach at least the first two
Unicode blocks (basic latin and latin-1 supplement) can be read correctly.

The characters do not display correctly in the "Command Window" (probably a
codepage problem) but display fine in the "Workspace" for me.

(file #38713)

Additional Item Attachment:

File name: bug49222_utf8.patch            Size:1 KB


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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