octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #55452] fopen() does not support encoding argu


From: Andrew Janke
Subject: [Octave-bug-tracker] [bug #55452] fopen() does not support encoding argument
Date: Wed, 13 Mar 2019 02:46:20 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36

Follow-up Comment #27, bug #55452 (project octave):

> Would it be possible to add test cases for writing to files with different
encodings to your test suite? Maybe tests with "fprintf" (should be working
mostly) and "fputs" (probably fails?). 

Sure. I should have some time for this tomorrow night.

> Do you know of encodings that encode numerals like "3" with different bytes
than 7bit ASCII? 

Well, UTF-16 does. But it's just putting the same int value into a wider
16-bit space, like the 7-bit ASCII value plus a null padding byte. That's all
I can think of.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55452>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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