Re: localising IDL programs [message #85207 is a reply to message #85205] |
Fri, 12 July 2013 11:29  |
Andy Sayer
Messages: 127 Registered: February 2009
|
Senior Member |
|
|
Heh. Yeah, I had not known of/had to use /isolatin1 before.
On Friday, July 12, 2013 1:36:22 PM UTC-4, David Fanning wrote:
> 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.")
|
|
|