pc88mxer has asked for the wisdom of the Perl Monks concerning the following question:
but I want to use HTML::Entities to do it. Is this possible?$text =~ s{([^\0-\377])}{'&#'.ord($1).';'}ge;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: use HTML::Entities to encode only characters >= 256?
by ikegami (Patriarch) on Nov 02, 2007 at 16:07 UTC | |
by pc88mxer (Vicar) on Nov 02, 2007 at 16:38 UTC |