perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fernando Munoz <fmu...@lgecorp.com>
Subject RE: UTF8 issue
Date Wed, 29 Jan 2003 17:50:13 GMT
Well, there's no error logging that I can refer to, but when you try to
hexdec these strings (the ones coming in UTF8) no matter how different the
strings are, they always return the same digest. Searching around I find
this note :

"Perl 5.8 support Unicode characters in strings. Since the MD5 algorithm is
only defined for strings of bytes, it can not be used on strings that
contains chars with ordinal number above 255. The MD5 functions and methods
will croak if you try to feed them such input data:"   

in the documentation for Digest::MD5
(http://search.cpan.org/author/GAAS/Digest-MD5/MD5.pm). 

-----Original Message-----
From: Josh Chamas [mailto:josh@chamas.com]
Sent: Tuesday, January 28, 2003 8:17 PM
To: Fernando Munoz
Cc: 'asp@perl.apache.org'
Subject: Re: UTF8 issue


Fernando Munoz wrote:
> I'm receiving info that is UTF8 encoded and it is making Digest::MD5 to
fail
> (I'm using Perl 5.8); is there any way to filter this information using an
> ASP object?
> 

What is making Digest::MD5 fail?  Is there an error message here?

--Josh

________________________________________________________________
Josh Chamas, Founder                   phone:925-552-0128
Chamas Enterprises Inc.                http://www.chamas.com
NodeWorks Link Checking                http://www.nodeworks.com
___________________________________________________ 
Lions Gate Entertainment, Inc.  [ AMEX: lgf ] 
Five Proud Years, One Independent Spirit.

---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Mime
View raw message