Re: Print Spanish characters in Perl?
- From: smallpond <smallpond@xxxxxxxx>
- Date: Fri, 20 Jun 2008 09:11:48 -0400
DanB wrote:
This is probably has a simple answer, but it isn't in my Perl books and I
have been trying to google it up using a dialup line locked down by the
telephone company to 20k bps. (And they don't offer what they call
broadband. i.e 56k)
Anyway, after a couple of hours of surfing through a very small part of
about 5 zillion hits for "Perl Unicode Spanish" at the rate of about one
page per minute, I decided to cheat and just ask.
Using Debian etch.
I am trying to build a set of Spanish flash cards using TK, and I need to
be able to display the accented characters. I know that I need to specify
them in some unicode besides utf-8, but an example of the actual Perl code
to activate(?) and use the proper unicode table is what I can't find.
Actually, Unicode is such a big topic that as a Perl beginner I might not
recognise the answer if I managed to google it up.
Anybody?
Thanks
Dan
Not sure if usenet will like the accented chars, but this works on the
command line:
perl -e 'use Tk; new MainWindow(-title=>"Cómo está?"); MainLoop'
** Posted from http://www.teranews.com **
.
- References:
- Print Spanish characters in Perl?
- From: DanB
- Print Spanish characters in Perl?
- Prev by Date: FAQ 8.11 How do I decode encrypted password files?
- Next by Date: Emulating system('COMMAND &') on Windows without using fork()
- Previous by thread: Re: Print Spanish characters in Perl?
- Next by thread: FAQ 8.15 How do I set the time and date?
- Index(es):
Relevant Pages
|