Re: UTF-8, UTF-16 and UTF-32

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

 



On Fri, Aug 22, 2008 at 21:37, Dallas Clarke <DClarke@xxxxxxxxxxxxxx> wrote:
>
> Standardise: - sizeof(char) = 1; sizeof(wchar_t) = 2; and sizeof(long
> wchar_t) = 4.
>

Do you mean "standardize char as UTF-8, wchar_t as UTF-16, and long
wchar_t as UTF-32"?  Because that's not what you said, even if (on
POSIX, but not necessarily C or C++) the sizes would be appropriate.

> Implement all the string functions: - strcmp(); mbscmp(); wcscmp(); and
> lcscmp().
>

How exactly do you plan on implementing strchr for UTF-16?
Specifically, what would its signature be?

~ Scott

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux