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

Re: Unicode/UTF-8 support for man



Edmund GRIMLEY EVANS <edmundo@xxxxxxxx> writes:

> You seem to be suggesting that C library functions such as wprintf
> should do transliteration. But I thought these functions, like
> wcrtomb, only do reversible transformations between multibyte and wide
> character representations.

If you have some data invalid in the current locale in a wchar_t array
the wprintf() functions can do whatever they want.  Stopping with an
error is one thing, ignoring or transliterating another (limited
transliteration is performed in the C locale).  You can add
appropriate information to your locale specification and the libc will
handle approriately.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------
-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/lists/