Re: Convert all named entities into numeric character references

From: Date: Mon, 06 Mar 2006 16:10:45 +0000
Subject: Re: Convert all named entities into numeric character references
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-231517@lists.php.net to get a copy of this message
Jacob Friis Saxberg wrote:
Does anyone know of a Php funtion that can do this: http://golem.ph.utexas.edu/~distler/blog/NumericEntities.html
     
Hi there! http://se.php.net/manual/en/function.htmlentities.php ?
htmlentities converts to named entitites. I want it to numeric entities.
Yes; 'tis true. However, in looking at the manual page further, I see at least one "user submitted" entry that looks like what you may be desiring, not too far down the page. HTH, Kevin Kinsey -- When the only tool you have is a hammer, every problem starts to look like a nail.

« previous php.general (#231517) next »