You are here: mb_convert_encoding « PHP Programming Language « IT news, forums, messages
mb_convert_encoding

Posted by Nick Wedd on 05/23/07 08:58

I am running PHP version 5.2.0-8+etch3.

If I run mb_convert_encoding( $string, "UTF-8", "HTML-ENTITIES")
on a string containing "Е", it ought to produce the two bytes
whose decimal values are 208 149. But it produces the four bytes whose
decimal values are 242 175 184 159.

Is there a fix for this? Does a later version of PHP get it right, or
do I have to write my own conversion function?

Nick
--
Nick Wedd nick@maproom.co.uk

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация