On Tuesday 24 April 2007 02:07, Mumia W. wrote:
> On 04/24/2007 03:06 AM, Jeff Pang wrote:
> > 2007/4/24, Beau E. Cox <[EMAIL PROTECTED]>:
> >> How do I get a proper conversion from iso-8859-1 to perl's internal
> >> utf8?
[snipped]
> I don't think it'll work in this case because \x99 doesn't seem to be
> inside my list of iso-8859-1 characters.
>
> The document Mr. Cox is downloading is less than truthful about its
> character set. Although it advertises itself as iso-8859-1, it's
> actually cp1250.
>
> Mr. Cox, I got your program to decode the text properly by changing the
> decoding line to this:
>
> my $name1 = decode( 'cp1250', $name );
>
> Have a nice day.
>
> BTW, I got the list of valid cp1250 characters here:
> http://www.microsoft.com/typography/unicode/1250.htm
>
> Read "perldoc Encode::Supported" to see the list of supported character
> sets.
 
Perfect! Thank you Mumie. (How rude of them to falsely encode their pages!)
Anyway, I'm working fine now.

Aloha => Beau;

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to