Re: Arabic input via WebObjects?
Re: Arabic input via WebObjects?
- Subject: Re: Arabic input via WebObjects?
- From: Christian Brunschen <email@hidden>
- Date: Mon, 23 May 2005 17:28:50 +0200 (CEST)
On Mon, 23 May 2005 email@hidden wrote:
Hi,
UTF-8 is 8 bit code.
Unicode ist 16 and it includes all the chars we know today over all the
world.
The above is *wrong*.
Unicode is a character set, with a 21-bit character space at the most
recent reckoning.
UTF-8 is an *encoding* of Unicode, in which characters are encoded in
groups of 8-bit bytes, with different characters taking up 1, 2, or 3
bytes. UTF-8 can indeed encode every single Unicode character.
UTF-16 is similarly an ancoding of Unicode, in which characters are
encoded in groups of 16 bits each, with different characters taking up 1
or 2 such 16-bit groups each.
If you want to write arabic , ascii, german, French and etc... in your db.
Use unicode. the UTF-8 do not include all these chars in one
False: UTF-8 can be used to encode any and all Unicode characters. Thus,
if your database stores strings in UTF-8, then it can handle the full
gamut of characters and languages that Unicode handles. If you tend to
store many strings that contain characters that would be encoded using 3
bytes using UTF-8 but would only use one 16-bit group if encoded with
UTF-16, then using UTF-16 rather than UTF-8 may save you space, but that's
the only real difference.
see this for more information about :
http://www.columbia.edu/kermit/csettables.html
Attention that you can set the encoding in the DB, java as well as the
brwoser.
and all must fit together for good results.
UTF-8 and UTF-16 are excellent candidates for this,
Sako.
Best wishes,
// Christian Brunschen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden