Revision [1230]

Last edited on 2012-02-28 04:40:53 by FsseInfo
Additions:
PhpIconv


Revision [168]

Edited on 2006-09-22 14:00:50 by FsseInfo
Additions:
HtmlUnicode


Revision [153]

Edited on 2006-09-21 12:11:54 by FsseInfo
Additions:
GtkUnicode
MysqlUnicode
UnicodeUtf
----
REFERRERS
{{backlinks}}
Deletions:
==How to enter unicode characters==
Use vim or a GTK based editor such as gedit or mousepad
%%
CTL-SHIFT-nnnn [then release CTL-SHIFT]
%%
eg
%%
CTL-SHIFT-20AC should display €
CTL-SHIFT-35CA should display 㗊
CTL-SHIFT-1D71C should display
%%
==How to store unicode characters==
The most common way of storing unicode characters is to use UTF-8 which uses up to 4 bytes for a single unicode character
For example
%%
$ cat unicodecharacters.txt
€㗊
$ od -t c -t x1 uni
0000000 342 202 254 343 227 212 360 235 234 234 \n
e2 82 ac e3 97 8a f0 9d 9c 9c 0a
%%
NOTE od does not correct display unicode so ignore the first line of decimal numbers
but you can see
U20AC (€) is represented in UTF-8 by the 3 bytes E2 82 AC
U35CA (㗊) is represented in UTF-8 by the 3 bytes E3 97 8A
U1D71C is represented in UTF-8 by the 4 bytes F0 9D 9C 9C
<nl> is represented by the single byte 0A


Revision [144]

Edited on 2006-09-21 06:14:05 by FsseInfo
Additions:
UniCode


Revision [141]

Edited on 2006-09-20 12:18:53 by FsseInfo
Additions:
CTL-SHIFT-1D71C should display
$ od -t c -t x1 uni
0000000 342 202 254 343 227 212 360 235 234 234 \n
e2 82 ac e3 97 8a f0 9d 9c 9c 0a
U1D71C is represented in UTF-8 by the 4 bytes F0 9D 9C 9C
Deletions:
$ od -t c -t x1 unicodecharacters.txt
0000000 342 202 254 343 227 212 \n
e2 82 ac e3 97 8a 0a


Revision [140]

Edited on 2006-09-20 12:11:35 by FsseInfo

No Differences

Revision [139]

Edited on 2006-09-20 12:10:30 by FsseInfo
Additions:
==How to enter unicode characters==
CTL-SHIFT-nnnn [then release CTL-SHIFT]
==How to store unicode characters==
Deletions:
==Entering unicode characters==
CTL-SHIFT-nnnn [ then release CTL-SHIFT]
==Storing unicode characters==


Revision [138]

Edited on 2006-09-20 11:59:32 by FsseInfo
Additions:
PHP, Unicode, UTF8 & iconv
CTL-SHIFT-nnnn [ then release CTL-SHIFT]
<nl> is represented by the single byte 0A
Deletions:
PHP , Unicode, UTF8 & iconv
CTL-SHIFT-nnnn
<nl> is represented by the singl byte 0A


Revision [137]

Edited on 2006-09-20 11:57:56 by FsseInfo
Additions:
>>http://www.unicode.org/
>>===PHP & Unicode===
PHP , Unicode, UTF8 & iconv
eg
CTL-SHIFT-35CA should display 㗊
For example
$ cat unicodecharacters.txt
€㗊
NOTE od does not correct display unicode so ignore the first line of decimal numbers
but you can see
U20AC (€) is represented in UTF-8 by the 3 bytes E2 82 AC
U35CA (㗊) is represented in UTF-8 by the 3 bytes E3 97 8A
<nl> is represented by the singl byte 0A
Deletions:
===PHP & Unicode===
CTL-SHIFT-35CA should display [a chinese character]
od doesn't display unicode so ignore the first line of decimal numbers
U20AC is represented in UTF-8 by the 3 bytes E2 82 AC
U35CA is represented in UTF-8 by the 3 bytes E3 97 8A


Revision [136]

Edited on 2006-09-20 11:52:55 by FsseInfo
Additions:
CTL-SHIFT-35CA should display [a chinese character]
==Storing unicode characters==
The most common way of storing unicode characters is to use UTF-8 which uses up to 4 bytes for a single unicode character
$ od -t c -t x1 unicodecharacters.txt
0000000 342 202 254 343 227 212 \n
e2 82 ac e3 97 8a 0a
od doesn't display unicode so ignore the first line of decimal numbers
U20AC is represented in UTF-8 by the 3 bytes E2 82 AC
U35CA is represented in UTF-8 by the 3 bytes E3 97 8A
Deletions:
CTL-SHIFT-35CA should display a chinese character


Revision [135]

Edited on 2006-09-20 11:46:33 by FsseInfo
Additions:
CTL-SHIFT-20AC should display €
CTL-SHIFT-35CA should display a chinese character


Revision [134]

The oldest known version of this page was created on 2006-09-20 11:44:21 by FsseInfo
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki