Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Spanish characters - newbie

Status
Not open for further replies.

tdin

MIS
Jun 1, 1999
11
0
0
US
I have a text file with Spanish characters in it that I can see correctly on my PC. When I transfer the file to my HP9000 and open it in "vi" the characters with accents are incorrect. What do I need to change to be able to see these characters correctly.
 
you need to use ASCII, not the character directly... example;

Text in your PC could be:

Voy a escribir cualquier weá con acento, como:
árbol
cajón
información
blah blah...

replace the characters with the ascii code (octals):

Voy a escribir cualquier we\341 con acento, como:
\341rbol
caj\363n
informaci\363n
blah blah...

Unfortanetly, I lost my table, but here you have some of them:

á = \341
é =
í =
ó = \363
ú = \372
ñ =

try using values after 341 (á) and before 390.

Hope this help...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top