Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: How to print a Euro symbol () in a PerlTk Label widget.

by Anonymous Monk
on Sep 04, 2012 at 13:01 UTC ( #991619=note: print w/replies, xml ) Need Help??


in reply to How to print a Euro symbol () in a PerlTk Label widget.

Ive tried using \ in the sprintf but that doesnt work, nor have the fancier ways of using UTF-8 codes that Ive tried. Any suggestions?

Prove it?

 perl -MTk -e " tkinit->Label( -text => qq{\x{20AC}} )->pack; MainLoop; "

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://991619]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2017-06-29 01:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (653 votes). Check out past polls.