[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55195] "help" for core functions contains odd
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #55195] "help" for core functions contains odd symbols for non-ASCII characters |
Date: |
Fri, 28 Dec 2018 18:48:04 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 |
Follow-up Comment #1, bug #55195 (project octave):
No answers, just a couple observations after looking at this for a minute.
Octave assumes that all texinfo text that goes into the user manual (including
all core function doc strings) is UTF-8 (see the @documentencoding declaration
in doc/interpreter/octave.texi).
Only one core function doc string contains its own @documentencoding
declaration, the 'slash' function. The content of the 'slash' function doc
string is entirely ASCII encoded. The rest of the core functions are
implicitly UTF-8 because the complete user manual is declared to be UTF-8.
Only two core function doc strings use any non-ASCII characters in their raw
markup. The 'strftime' function uses a single '±' character, and the
'unicode_idx' function (new in Octave 5) uses a 'ä' character. These are both
built-in functions, so I'm not sure whether mfile_encoding has anything to do
with their doc strings. Does it?
I think that we should be able to assume that all core doc strings are UTF-8,
whether or not they contain a @documentencoding declaration.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55195>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/