Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
| >>>>> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:
|
| >> Or communicationg with other libs api's.
|
| Abdelrazak> Which one?
|
| gettext at least.
Gettext msgids should be ASCII. (And we require them to be ASCII..)
Gettext output can be ucs-4, but then we have a problem... gettext just
returns a "char *" no length, and ucs-4 is bound to have a lot of '\0'
in it... so we cannot really know how long the ucs-4 string really
is... so it seems that for gettext we have to use utf-8 as direct
output encoding... (We can gueess with ucs-4... "\0\0\0\0" is a ucs-4
'\0'... but then it becomes a lot easier to just use utf-8 and convert
that...)
However our internal interface is in message.C and from Message::get we
can perfectly well output a docstring instead of a string. (and thus
ucs-4)
--
Lgb