Andrew Cunningham wrote: > any implimentation of utf-16 must include the capacity to correctly handle > valid surrogate pairs. You cann't restrict utf-16 characters to 2-bytes. That's way conversion from utf-16 to utf-32 should be analogous to conversion from utf-8 to wchar_t, � la mbtowcs. Etc. The rules about character by character processing apply. You may wish to use utf32_t for the intermediate characters, e.g. in a simple parser. -- Jamie - Linux-UTF8: i18n of Linux on all levels Archive: http://mail.nl.linux.org/lists/
- Re: Proposal for 2 Byte Unicode implementation i... Andrew Cunningham
- Re: Proposal for 2 Byte Unicode implementat... Edmund GRIMLEY EVANS
- Re: Proposal for 2 Byte Unicode implementat... Jamie Lokier
- Re: Proposal for 2 Byte Unicode impleme... Jean-Marc Desperrier
- Re: Proposal for 2 Byte Unicode implementat... Marcin 'Qrczak' Kowalczyk
- Re: Proposal for 2 Byte Unicode implementat... Bruno Haible
- Re: Proposal for 2 Byte Unicode impleme... Werner LEMBERG
- Re: Proposal for 2 Byte Unicode implementat... Brink, Ulrich
- Re: Proposal for 2 Byte Unicode impleme... Jamie Lokier
- Re: Proposal for 2 Byte Unicode implementat... Marcin 'Qrczak' Kowalczyk
- Re: Proposal for 2 Byte Unicode implementat... Markus Kuhn
- Re: Proposal for 2 Byte Unicode implementat... Florian Weimer
- Re: Proposal for 2 Byte Unicode implementat... Ulrich Drepper
