Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: zapping gremlins

by imp (Priest)
on Jul 02, 2006 at 04:55 UTC ( #558830=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     perl -e 'print ord(shift) . "\n"' ""
    
  2. or download this
    $in{'content'} =~ s/\x92/’/g;
    
  3. or download this
    # Somewhere in an init function I define the hex value => string mappi
    +ng
    # I find it easier to edit this way
    ...
        # And then later when I need to do the replacing:
        $data =~ s/$msword_re/$msword_replace{$1}/g;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://558830]
help
Chatterbox?
[Tux]: And I just tested, neither do other Tk apps :) (95% of my Tk Apps is either just monitoring (no input) or input of just numbers). Something to investigate then
[choroba]: Maybe something like this?
[choroba]: I vaguely remember we had problems with dead keys in Tk at $work - 2, but I forgot all the details
[choroba]: but it was worse on MSWin than on Linux
[choroba]: (and OSX didn't exist yet)
[choroba]: Also, I'd try starting the App with the US layout and switch to the dead keys layout later

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2017-09-25 20:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (290 votes). Check out past polls.

    Notices?