* Tatsuhiko Miyagawa <[EMAIL PROTECTED]> [2008-03-19 07:20]:
> Some modules like XML::LibXML adds UTF-8 flags regardless of if
> the characters to handle are composed of latin-1 range (like
> Encode::decode_utf8 instead of utf8::decode), and that's pretty
> much realistic and sane approach I think.

Yes. If the flag is to have any use at all, then it has to have
the semantic of distinguishing character vs byte strings.

> I agree with Bill that the plugin trying to decode already
> utf-8 flagged string doesn't make any sense, but furthermore, I
> wonder under which circumstance the plugin tries to decode
> already-utf8-flagged strings.
> 
> I'd say that's the root problem.

Yes; and that’s exactly what Jon said.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to