You are here: Convert HTML entities to Unicode UCS2? What to do? « PHP Programming Language « IT news, forums, messages
Convert HTML entities to Unicode UCS2? What to do?

Posted by Alexander.Veit on 01/25/07 07:30

Hallo,

does anyone know how to convert HTML Entities into UCS2-String (Value).


For example: I need to convert Sułowska 43 (value in mysql
database) to a unicode string with the specified polish character(s)
(Polish is just a example).


--- Currently i convert every usual ASCII-String by using the php
multibyte functions. This it how it looks like: ---

$string_ASCII = "test";
$string_UCS2 = mb_convert_encoding( $string_ASCII, 'UCS-2LE',
'ISO-8859-1');

-----

Any ideas? Thanks in advance...


Regards,
Alexander

 

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

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