The patch looks fine to me. But I don't maintain LWP. Gisle Aas would have to apply the patch, etc.

J


From: "Information Service" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
CC: <[EMAIL PROTECTED]>
Subject: Bug/Patch for HTTP::Cookies::Microsoft
Date: Sat, 12 Jul 2003 19:13:05 +0300

Hi,

I tried to use your otherwise quite usable HTTP::Cookies::Microsoft module
and noticed that it can't correctly handle Russian (and, perhaps other
national language user names) because lc() if get_user_name() is does not
'use locale'. Please find the diff below.

Ruslan.

=-=-= cut here =-=-=-=
--- Microsoft.pm.orig   Sat Jul 12 19:06:35 2003
+++ Microsoft.pm        Sat Jul 12 19:10:52 2003
@@ -56,7 +56,9 @@
 sub get_user_name
 {
        use Win32;
+       use locale;
        my $user = lc(Win32::LoginName());
+       no locale;

        return $user;
 }
=-=-= cut here =-=-=-=


_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus




Reply via email to