Web студия "GrandView"
  Главная   Написать Контакты
   
   
О проекте
Руководство php
 

utf8_decode

(PHP 3 >= 3.0.6, PHP 4, PHP 5)

utf8_decode --  Converts a string with ISO-8859-1 characters encoded with UTF-8 to single-byte ISO-8859-1

Description

string utf8_decode ( string data )

This function decodes data, assumed to be UTF-8 encoded, to ISO-8859-1.

See also utf8_encode() for an explanation of UTF-8 encoding.



utf8_encode> <XML
Last updated: Fri, 26 Jan 2007
 
add a note add a note User Contributed Notes
utf8_decode
ludvig dot ericson at gmail dot com
15-Jul-2007 10:52
A better way to convert would be to use iconv, see http://www.php.net/iconv -- example:

<?php
$myUnicodeString
= "
Новости
11 июля 2007
Сайт запущен
© 2007 info@grandviewstudio.com
Z058440144362 Z348613067571