Re: localising IDL programs [message #85205 is a reply to message #85204] |
Fri, 12 July 2013 10:36   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
AMS writes:
> Aha! The plot thickens. Your suggestion inspired me to open up the output postscript file in a text editor, and I found the place where the relevant bit of text is contained. IDL is writing code \341 there, which from before is the correct octal value for á. So that bit was right. I also found this page which shows that \341 is Æ in text encoding, but á in ISO Latin-1 encoding: http://www.math.u-bordeaux1.fr/~mleguebe/docs/gnuplot_liite3 4.pdf
>
> So, I checked the IDL help and there is a keyword /isolatin1 to device. I set that, and it displays as intended.
There you go, mystery solved.
Now you see why every time someone so much as touches a Coyote Graphics
command the PostScript device gets configured with COLOR=1,
BITS_PER_PIXEL=8, and /ISOLATIN1. Saves a LOT of problems later on. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|