perl-unicode

Re: Encode::compat 0.01 says "Unsupported conversion"

2002-09-23 20:30:05
On Sun, Sep 22, 2002 at 10:08:15PM +0200, Robert Allerstorfer wrote:
unlike stated in my previous 2 postings from the previous thread, I finally
commented everything within

if ($] >= 5.007001 or $INC{'Encode.pm'}) {
    # nothing happens -- Encode.pm already available.
    $INC{'Encode.pm'} = __FILE__;
    require Encode::compat::common;
    require Encode::compat::5006001;
}

Oops, that's just for debug use.  Stupid me.  0.02 released.

I have tested it with the following CGI code that should print the "?"
character UTF-8 encoded and the byte numbers that represent it (C3 and
A4):

        use Encode::compat;
        use Encode;
        my $string = "?";
        Encode::from_to($string, "iso-8859-1", "utf8");

Forgot to normalize 'utf8' to 'utf-8'.

Please grab the new tarball here:
    http://www.autrijus.org/Encode-compat-0.02.tar.gz

/Autrijus/

Attachment: pgpwFMMOEicFW.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>