Re: Umlauts in IDL 6.0 and 7.0 [message #62027] |
Thu, 21 August 2008 03:12  |
biophys
Messages: 68 Registered: July 2004
|
Member |
|
|
It looks to me that IDL70 is giving you two numbers equivalent to
hexnumber c3a4 which is exactly the hexcode for 'ä' in UTF-8. I guess
it can be solved if there is a way to force IDL to think in UTF-16 or
UTF-32.I'm not sure how to solve it but here's a "virtual kwyboard"
for you(http://tinyurl.com/fontart).
bp
On Aug 20, 5:20 am, MichaelT <michael.theus...@googlemail.com> wrote:
> Dear all.
>
> I have encountered an annoying problem with IDL 7.0 (German version,
> German keyboard). All the umlauts within programs I wrote with IDL
> 6.0 are changed to some weird characters. Also, when I use
>
> Xyouts, 0.5, 0.5, 'ä', Align = 0.5, CharSize = 4, /Normal
>
> IDL 7.0 displays two special characters, while IDL 6.0 correctly
> displays "ä".
>
> When I enter
>
> print, byte('ä')
>
> in IDL 7.0's command line I get "195 164" as a result.
> IDL 6.0 correctly prints "228".
>
> Also the degree symbol is incorrectly displayed.
>
> So what is going on here? Do I have to change the character set or
> something? How do I do this?
>
> Michael
|
|
|
|
|
Re: Umlauts in IDL 6.0 and 7.0 [message #62154 is a reply to message #62027] |
Tue, 26 August 2008 05:14  |
MichaelT
Messages: 52 Registered: May 2006
|
Member |
|
|
On Aug 21, 12:12 pm, biophys <biop...@gmail.com> wrote:
> It looks to me that IDL70 is giving you two numbers equivalent to
> hexnumber c3a4 which is exactly the hexcode for 'ä' in UTF-8. I guess
> it can be solved if there is a way to force IDL to think in UTF-16 or
> UTF-32.
Ok, I understand the problem now, but, I could not find a way to solve
it...
Is there really no one else who has the same trouble? Any users from
Germany?
> I'm not sure how to solve it but here's a "virtual kwyboard"
> for you(http://tinyurl.com/fontart).
Many thanks for this link! That really is one nice program!
Thanks,
Michael
|
|
|