[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55974] Octave hangs on plotting text object w
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #55974] Octave hangs on plotting text object with invalid UTF-8 byte sequence |
Date: |
Tue, 4 Jun 2019 09:18:17 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Linux; Android 9; ONE E1003) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Mobile Safari/537.36 |
Follow-up Comment #9, bug #55974 (project octave):
Thanks for providing a fix for both issues.
Regarding the latter (printing): Would you consider using the question mark ?
as the replacement character in ASCII? There doesn't seem to be a strict rule.
But e.g. according to Wikipedia [1]:
In many Web browsers and other computer programs, when converting text between
encodings, it may not be possible to map some characters into the target
character set. In this situation it is common to replace each unmappable
character with a question mark ?, inverted question mark ¿, or the Unicode
replacement character, usually rendered as a white question mark in a black
diamond: U+FFFD � REPLACEMENT CHARACTER.
I also believe that gnulib is doing the same in some functions operating on
strings.
[1]: https://en.wikipedia.org/wiki/Question_mark?wprov=sfla1
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55974>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/