Re: Print Spanish characters in Perl?
- From: Jürgen Exner <jurgenex@xxxxxxxxxxx>
- Date: Fri, 20 Jun 2008 04:37:34 GMT
DanB <dbxxxxxxx@xxxxxxxxx> wrote:
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,
Actually, you don't. Just put them into your code in your favourite
editor and treat them like any ASCII character.
A problems arise only if your editor saves the file in a different
encoding then your display device expects. Typical examples are e.g.
saving as UTF-8, then including the text in an HTML page but forgetting
to specify UTF-8 as charset. In this case the browser defaults to
ISO-Latin-1 and the non-ASCII characters will be messed up, of course.
Or saving the file as Windows-1252 (or ISO-Latin-1) and then viewing the
output in a DOS Window which for western languages uses OEM CP 850.
jue
.
- Follow-Ups:
- Re: Print Spanish characters in Perl?
- From: Ben Bullock
- Re: Print Spanish characters in Perl?
- From: Bill H
- Re: Print Spanish characters in Perl?
- References:
- Print Spanish characters in Perl?
- From: DanB
- Print Spanish characters in Perl?
- Prev by Date: Re: listing a directory by size
- Next by Date: Re: Perl Script
- Previous by thread: Print Spanish characters in Perl?
- Next by thread: Re: Print Spanish characters in Perl?
- Index(es):
Relevant Pages
|