Re: Unicode support (Was: Request for Comment: Callable CRM114 Classifiers (libcrm114))
Bill Yerazunis <[email protected]>
| Newsgroups | gmane.mail.spam.crm114 |
|---|---|
| Message-ID | <[email protected]> |
Would it be most logical if the C library API *always* used
wchar_t *text ? The wrapper application would be responsible for
translating whichever original encoding (including ASCII) into wchar_t
buffer.
Just an idea...
Sadly, wchar_t is itself not consistent. It's 32 bits on GCC (confirmed)
and supposedly 16 bits on Windows. Nominally, it's done by zero-extending
LATIN-1 but the lack of portability is kinda damning...
- Bill Yerazunis
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/