downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

Source of: /manual/en/intro.iconv.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/book.iconv.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'intro.iconv.php',
   
1 => 'Introduction',
  ),
 
'up' =>
  array (
   
0 => 'book.iconv.php',
   
1 => 'iconv',
  ),
 
'prev' =>
  array (
   
0 => 'book.iconv.php',
   
1 => 'iconv',
  ),
 
'next' =>
  array (
   
0 => 'iconv.setup.php',
   
1 => 'Installing/Configuring',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div id="intro.iconv" class="preface">
  <h1 class="title">Introduction</h1>
  <p class="para">
   This module contains an interface to iconv character set conversion
   facility. With this module, you can turn a string represented by a local
   character set into the one represented by another character set,
   which may be the Unicode character set. Supported character sets
   depend on the iconv implementation of your system.
   Note that the iconv function on some systems may not work
   as you expect. In such case, it&#039;d be a good idea to install the
   <a href="http://www.gnu.org/software/libiconv/" class="link external">&raquo; GNU libiconv</a> library. It will most
   likely end up with more consistent results.
  </p>

  <p class="para">
   Since <span class="application">PHP</span> 5.0.0, this extension comes with
   various utility functions that help you to write multilingual
   scripts. Let&#039;s have a look at the following sections to explore the new
   features.
  </p>
 </div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites