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 =-=-=-=

Reply via email to