comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Umlauts in IDL 6.0 and 7.0
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Umlauts in IDL 6.0 and 7.0 [message #62027] Thu, 21 August 2008 03:12 Go to next message
biophys is currently offline  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 #62036 is a reply to message #62027] Wed, 20 August 2008 17:09 Go to previous messageGo to next message
russell.grew is currently offline  russell.grew
Messages: 74
Registered: February 2005
Member
http://astro.uni-tuebingen.de/software/idl/textoidl/

Might be a solution (assuming you are familiar with LaTeX).

I realise this does not address the root of your problem. I haven't
taken the plunge to IDL 7 yet.
Re: Umlauts in IDL 6.0 and 7.0 [message #62107 is a reply to message #62027] Fri, 22 August 2008 10:21 Go to previous messageGo to next message
MarioIncandenza is currently offline  MarioIncandenza
Messages: 231
Registered: February 2005
Senior Member
Hey, that's a cool app! When I saw the start of this thread, it got me
thinking how useful such a thing could be, and when I got to the end,
I saw someone had already written it!

That said, it would be much more useful to me in sourcecode form, so
that I could run it to generate code sequences within a development
instance.

The wiki says "source code available upon request," but there are no
email addresses...

Cheers,

--Edward H.
Re: Umlauts in IDL 6.0 and 7.0 [message #62154 is a reply to message #62027] Tue, 26 August 2008 05:14 Go to previous message
MichaelT is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Where is my function called
Next Topic: Matching Lats and Lons from two arrays

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:39:18 PDT 2025

Total time taken to generate the page: 0.00511 seconds