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]
|