Wednesday 8 August 2012

utf8_encode — This function is used to Encode an ISO-8859-1 string to UTF-8

Above function encodes string data into UTF-8 and returns ecoded version of the string. UTF-8 mechanism is standard and used by Unicode for encoding character values into a byte system. PHP encodes UTF-8 upto 4-bytes.