Hi people,
starting today, MirOS "should" have proper I18N support,
without much help by Bruno Haible, from whom I only took
the public libutf8 interface definition (as such not co-
pyrightable), some ideas, especially how to generate few
tables from the UCD, and few stuff still lying around in
libhaible. And wcstok(3) is still missing.
With the (yet) standard "C" locale, there shouldn't be a
change in behaviour, except that you can now convert be-
tween "wide" (UCS-2HE) and "multibyte" (actually, single
byte, with the "C" locale) strings; multibyte strings're
still in ISO-8859-1 encoding but this will be restricted
down to ISO_646.irv:1991 (except for converting back and
forth, probably) pretty soon.
Set LC_CTYPE=en_US.UTF-8 (or, in general, anything utf-8
or utf8, case-insensitive) and you switch to the "UTF-8"
locale, the only other one supported (now fully) by us.
In the UTF-8 locale, multibyte strings are made from up-
to-3-byte characters in the standard UTF-8 encoding (for
which there is still no utf-8(7) manual page, by the way
- others are still missing too, see libhaible), and in a
nutshell, everything "should just work", save any misin-
terpretation of the standards (SUSv3 online reference in
my case) or man pages, disagreement between these two or
code bugs.
I'd appreciate if someone would review the manual pages,
whether they agree with SUSv3 (e.g. towctrans(3) says it
is undefined in certain cases where SUSv3 defines an op-
tional errno behaviour; my implementation doesn't use it
though) and the code if it implements all special cases.
The standards' formulations suck, though.
Other than that, I'd like someone who has access to them
to run some regression tests first, then some real-world
tests - the code hasn't undergone any testing yet.
Thanks!
bye,
//mirabile
--
> emacs als auch vi zum Kotzen finde (joe rules) und pine für den einzig
> bedienbaren textmode-mailclient halte (und ich hab sie alle ausprobiert). ;)
Hallooooo, ich bin der Holger ("Hallo Holger!"), und ich bin ebenfalls
... pine-User, und das auch noch gewohnheitsmäßig ("Oooooooohhh"). [aus dasr]
|