Re: Unicode question...
- From: Kevin Handy <kth srv net>
- To: Per Hedbor <per idonex se>
- Cc: Derek Simkowiak <dereks kd-dev com>,Robert Brady <robert susu org uk>, gtk-devel-list gnome org
- Subject: Re: Unicode question...
- Date: Mon, 10 Jul 2000 09:10:12 -0600
Per Hedbor wrote:
>
> > if (ucs4_character == 'T') g_print("It's a big tee.");
> > if (ucs4_character == 't') g_print("It's a little tee.");
> > if (ucs4_character == '\t') g_print("It's a TAB character.");
>
> The first 256 characters of unicode is the same as the first 255
<NITPICK> is it the first 256, or 255 (or is this sentence really
right)?
</NITPICK>
> characters of iso-8859-1, complete with the undefined regions, unless
> I am mistaken.
>
> Thus, that kind of comparisons works just fine.
>
> In UTF-8, the first 127 characters are the same, so the above
> comparisons will work just fine there too.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]