| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| 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 |
|
#2
| |||
| |||
| 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. |
|
#3
| |||
| |||
| 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 |
|
#4
| |||
| |||
| 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. |
|
#5
| |||
| |||
| 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 |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.