[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55452] fopen() does not support encoding argu
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #55452] fopen() does not support encoding argument |
Date: |
Sun, 21 Jul 2019 14:11:00 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0 |
Follow-up Comment #31, bug #55452 (project octave):
I rebased file #46480 to the current default branch and pushed it here:
http://hg.savannah.gnu.org/hgweb/octave/rev/1c8b20731af4
"fgetl" and "fgets" with a "len" argument still need more thinking. Reading
the correct number of bytes from a source isn't trivial for variable-byte
encodings. Maybe file #46481 could be applied as an intermediate step to
support "fgetl" end "fgets" with one argument (and for encodings that use one
byte per character).
Interestingly, I have to specify the byte order for the UTF-16 examples in
Andrew's test suite or the tests fail (i.e. I have to rename those files to
include UTF-16BE).
I recently re-installed Ubuntu 19.04. Maybe that or some other changes on my
system might have caused this issue.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55452>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #55452] fopen() does not support encoding argument,
Markus Mützel <=