You are here: Re: Unicode (UTF-8) « HTML « IT news, forums, messages
Re: Unicode (UTF-8)

Posted by Toby Inkster on 05/27/06 14:17

ironcorona wrote:

> How come you're using UTF-16? Russian and Chinese can both be encoded
> in UTF-8.

A typical Chinese character will take up 16 bits in a UTF-16 file, but 24
bits in a UTF-8 file. Thus a UTF-8 file may be up to 50% bigger than
UTF-16. Most Western characters only use 8 bits in UTF-8, but 16 in
UTF-16, so for Western languages, UTF-8 can be up to 50% smaller than
UTF-16.

So if a page uses primarily non-Western characters, UTF-16 is often a
better choice.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация