Print Spanish characters in Perl?



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
.



Relevant Pages

  • 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: Print Spanish characters in Perl?
    ... be able to display the accented characters. ... 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: 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)
  • How to decode JavaScripts encodeURIComponent in Perl.
    ... who struggle with the Perl language and all it's myriad idiosyncracies. ... character sets, but I acknowledge that if you *are* dealing with what I ... they find they can't use their own native character-set in a URI, ... So now we have Unicode -- a vastly superior term, to some people, ...
    (comp.lang.perl.misc)
  • Re: Creating UNICODE filenames with PERL 5.8
    ... I didn't clue in from the documentation ... It comes back with a two character ... Do you know of a method of reading directories to get the UNICODE file ... >> I have been having distinct trouble creating file names in PERL ...
    (comp.lang.perl.misc)