You are here: Re: Escape to Unicode? « PHP Programming Language « IT news, forums, messages
Re: Escape to Unicode?

Posted by ReGenesis0 on 10/10/56 11:50

Toby Inkster wrote:

> You might be able to do this using html_entity_decode() to get everything
> in its raw form (e.g. will convert € to €) and then use a regular
> expression to convert things into numeric character references (e.g. €
> to €). Such a regular expression can be found in soapergem at gmail
> dot com's 10 May 2006 comment here:
> http://uk2.php.net/manual/en/function.htmlentities.php
>
> That said, you're better off correcting the root problem -- that ñ
> is not correct XML.

....which is precicely what I indent to do-- I want to convert such tags
as they come in as form inputs before they're sent to become XML files.

I'm not asking a question sideways of the problem and missing something
obvious, am I? I hate when that happens...

-Derik

 

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

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