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:[EMAIL PROTECTED]]
Sent: Tuesday, January 28, 2003 8:17 PM
To: Fernando Munoz
Cc: '[EMAIL PROTECTED]'
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to