Having tried:
$o = Encode::decode('ascii', "abc \x80 \xFF", FB_HTMLCREF)
$o = Encode::decode('ISO-8859-7', "abc \xFF", FB_HTMLCREF)
$o = Encode::decode('ascii', "abc \x80 \xFF", FB_XMLCREF)
$o = Encode::decode('ISO-8859-7', "abc \xFF", FB_XMLCREF)
(0xFF is not a valid character value in ISO-8859-7.)
I find that they produce neither &128; and &255; nor € and ÿ,
but exactly the same as:
$o = Encode::decode('ascii', "abc \x80 \xFF", FB_PERLQQ)
$o = Encode::decode('ISO-8859-7', "abc \xFF", FB_PERLQQ)
namely \x80 and \xFF !
Almost as if there were a bug. Or have I missed the right piece of the
documentation ?
--
Chris Hall highwayman.com
signature.asc
Description: PGP signature