Skip Menu |
 

This queue is for tickets about the Encode CPAN distribution.

Report information
The Basics
Id: 8088
Status: resolved
Priority: 0/
Queue: Encode

People
Owner: DANKOGAI [...] cpan.org
Requestors: derhoermi [...] gmx.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From: Bjoern Hoehrmann <derhoermi [...] gmx.net>
To: bug-encode [...] rt.cpan.org
CC: bjoern [...] hoehrmann.de
Subject: Encode::Encoder inconsistent behavior for malformed UTF-8
Date: Thu, 21 Oct 2004 20:36:15 +0200
Download (untitled) / with headers
text/plain 417b
Hi, % perl -w -Mstrict -MEncode::Encoder -e "print \ Encode::Encoder->new(qq(Bj\xF6rn), q(utf-8))->utf8" This prints Björn ISO-8859-1 encoded, % perl -w -Mstrict -MEncode::Encoder -e "print \ Encode::Encoder->new(qq(Bj\xF6rn H\xF6hrmann), q(utf-8))->utf8" croaks with utf8 "\xF6" does not map to Unicode ... If this is intentional there should be a strong warning somewhere in the documentation.
This one is the same as ticket #8089; \xHH is iso-latin1, not unicode. Dan the Encode Maintainer


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.