in reply to Re^2: sring encode problem (hexadecimal)
in thread sring encode problem (hexadecimal)
encode_entities_numeric( $string ) encode_entities_numeric( $string, $unsafe_chars ) This routine works just like encode_entities, except that t +he replacement entities are always "&#xhexnum;" and never "&en +tname;". For example, "encode_entities("r\xF4le")" returns "rô +le", but "encode_entities_numeric("r\xF4le")" returns "rôle". This routine is not exported by default. But you can alway +s export it with "use HTML::Entities qw(encode_entities_numeric);" o +r even "use HTML::Entities qw(:DEFAULT encode_entities_numeric);"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: sring encode problem (hexadecimal)
by courierb (Novice) on Jan 20, 2011 at 05:16 UTC | |
by JavaFan (Canon) on Jan 20, 2011 at 09:59 UTC | |
by courierb (Novice) on Jan 20, 2011 at 14:36 UTC | |
by JavaFan (Canon) on Jan 20, 2011 at 19:31 UTC | |
|
Re^4: sring encode problem (hexadecimal)
by Anonymous Monk on Jan 19, 2011 at 13:24 UTC | |
by JavaFan (Canon) on Jan 19, 2011 at 14:00 UTC |