RE: UTF8 issue

2003-01-29 Thread Fernando Munoz
.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

Re: UTF8 issue

2003-01-29 Thread Philip Mak
I'm guessing you'll have to somehow cast the UTF8 strings so that they're interpreted byte-by-byte, rather than character-by-character. Maybe try use utf8; and then pass utf8::encode($str) instead of $str to the MD5 function. On Wed, Jan 29, 2003 at 09:50:13AM -0800, Fernando Munoz wrote: Well,

RE: UTF8 issue

2003-01-29 Thread Fernando Munoz
. Thanks again. -Original Message- From: Philip Mak [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 10:07 AM To: Fernando Munoz Cc: '[EMAIL PROTECTED]' Subject: Re: UTF8 issue I'm guessing you'll have to somehow cast the UTF8 strings so that they're interpreted byte-by-byte

RE: UTF8 issue

2003-01-29 Thread Fernando Munoz
]' Subject: Re: UTF8 issue On Wed, Jan 29, 2003 at 10:57:12AM -0800, Fernando Munoz wrote: Thanks Phillip, that solves the problem. I managed myself to find a less elegant but, equally effective, solution. I operates over the string passing the result to a second scalar that gets encoded as a string

UTF8 issue

2003-01-28 Thread Fernando Munoz
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? Thanks! ___ Lions Gate Entertainment, Inc. [ AMEX: lgf ] Five Proud Years, One

Re: UTF8 issue

2003-01-28 Thread Josh Chamas
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