

Archive for November, 2008
How To Use Multibyte String Functions
Author: stone
This is tips and trick to use Multibyte String Function on PHP,
hope can be useful to all of you ^^
[Introduction]
There are many languages in which all characters can be expressed by single byte. Multi-byte character codes are used to express many characters for many languages. While there are many languages in which every necessary character can be represented by a one-to-one mapping to an 8-bit value, there are also several languages which require so many characters for written communication that they cannot be contained within the range a mere byte can code (A byte is made up of eight bits. Each bit can contain only two distinct values, one or zero. Because of this, a byte can only represent 256 unique values (two to the power of eight)). Multibyte character encoding schemes were developed to express more than 256 characters in the regular bytewise coding system. Multibyte string function (mbstring) is developed to handle Japanese characters and other language also.
Encodings of the following types are safely used with PHP :
read comments (0)














