InMotion Web Site Hosting
InMotion Hosting Home


iconv

(PHP 4 >= 4.0.5)

iconv -- Convert string to requested character encoding

Description

string iconv ( string in_charset, string out_charset, string str)

It converts the string str encoded in in_charset to the string encoded in out_charset. It returns the converted string or FALSE, if it fails.

Example 1. iconv() example:

<?php
echo iconv("ISO-8859-1","UTF-8","This is a test.");
?>


InMotion Web Hosting Customer Support
M-F 8am - 7pm PST
213-239-0050

More information can be found at the InMotion Hosting Main Site

>