Re: print wrong characters [message #52277 is a reply to message #52276] |
Wed, 24 January 2007 07:14  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Joan writes:
> i want to convert strings because my widgets display wrong characters.
>
> for example: i want to write: baleny=E0 (it's a catalonia's town). and
> IDL writes: balen=FD
> any ideas=BF?
>
> i think that the problem must be UTF convertion or string format
> displaying..
Karl can probably speak more authoritatively on this topic,
but I think this is a can of worms. :-)
http://www.cs.tut.fi/~jkorpela/chars.html
I find it impossible to construct a string using unicode
characters for display in a widget. However, if I use the
unicode characters (an accented a, for example) in a string
(I probably used the Windows Character Map application to
grab the right character), then this is *usually* displayed
properly.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|