Re: Print Spanish characters in Perl?



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 **
.



Relevant Pages

  • Print Spanish characters in Perl?
    ... This is probably has a simple answer, but it isn't in my Perl books and I ... about 5 zillion hits for "Perl Unicode Spanish" at the rate of about one ... them in some unicode besides utf-8, but an example of the actual Perl code ... recognise the answer if I managed to google it up. ...
    (comp.lang.perl.misc)
  • Re: Perl opting for double-byte chars?
    ... sure Unicode has something to do with your problem, ... Without knowing the version of Perl you're using and the platform ... The UTF-8 encoding uses variable-length character ... perldoc Encode ...
    (comp.lang.perl.misc)
  • Re: How to NOT use utf8.
    ... I had some indications that my problems are due to Unicode. ... perl totaly Unicode unaware. ... Since my script is supposed to run under Windows, ... in Carp::format_arg function, called by cluck, jumps to other chunk of code. ...
    (comp.lang.perl.misc)
  • SOLVED: "Text File Busy" And Other Frustrating NFS/Perl Errors
    ... Perl file on one computer, ... and I am running it on another (my server). ... The first problem I had was that when I saved my script through NFS, ... searched newsgroups on Usenet and mailing lists and general Google searches ...
    (comp.lang.perl.misc)
  • Re: finding perl info on google can be hard
    ... Please alow me to point out that I am using google to ... I am also using it to read various other newsgroups. ... the perl docs were all anyone needed to learn about perl these ... The perldocs are a standard part of the Perl distribution. ...
    (comp.lang.perl.misc)