Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^4: Unicode input for Win32::Console

by Sue D. Nymme (Monk)
on Oct 25, 2011 at 19:02 UTC ( [id://933676]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Unicode input for Win32::Console
in thread Unicode input for Win32::Console

$^E seems never to be changed by Win32::Console::InputChar. When I add $^E (or $!) to the "(undef)" display in my code above, it always contains the last error before the loop began. I can force it to be any value, and when InputChar returns undef, it does not set $^E or $!.

Replies are listed 'Best First'.
Re^5: Unicode input for Win32::Console
by BrowserUk (Patriarch) on Oct 25, 2011 at 20:40 UTC

    From what I can tell, Win32::Console has never been updated since the advent of the Perl Unicode era, hence it simply isn;t configured to compile such that it will work correctly with Unicode input.

    It seems it should be possible to make the module work, but it looks like there would be a bunch of effort required in tracking down the correct set of incantations for the MS compiler to allow it to do so. Whether that would then be portable to MingW is another question entirely.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://933676]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2024-03-28 14:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found