Ba1rdsy has asked for the wisdom of the Perl Monks concerning the following question:
I need to update the app for European users and one thing they keep asking for is to replace those pesky dollar signs with euro symbols. 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?$bill_f->Label( -text => sprintf("\$%.2f",$bill->{RENTAL}))->grid(); $bill_f->Label( -text => sprintf("\$%.2f",$bill->{USAGE}))->grid(); $bill_f->Label( -text => sprintf("\$%.2f",$bill->{OTHER}))->grid(); $bill_f->Label( -text => sprintf("\$%.2f",$bill->{TOTAL}))->grid();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to print a Euro symbol (€) in a PerlTk Label widget.
by Ovid (Cardinal) on Sep 04, 2012 at 15:51 UTC | |
|
Re: How to print a Euro symbol (€) in a PerlTk Label widget.
by choroba (Cardinal) on Sep 04, 2012 at 13:09 UTC | |
|
Re: How to print a Euro symbol (€) in a PerlTk Label widget.
by zentara (Cardinal) on Sep 04, 2012 at 16:42 UTC | |
by Ba1rdsy (Initiate) on Sep 05, 2012 at 07:42 UTC | |
|
Re: How to print a Euro symbol (€) in a PerlTk Label widget.
by Anonymous Monk on Sep 04, 2012 at 13:01 UTC |