At 7:22 PM -0800 2/2/06, Lennox Jacob wrote:
I would like to print the Uppercase Greek letter delta (a triangle),
I checked the Greek Charset ISO-8859-7 and it is C4.
How do I code that?
What platform are you on? If you're on a Mac, the easiest way is to
simple "type" the character right into your string literal, property
value, or constant value, as you would any other character. You
could do this using the Character Palette (a little feature you can
enable via the Keyboard system preference panel, IIRC), for example.
This works because REALbasic projects are stored entirely in Unicode.
If you're not on a Mac, and have no convenient way to enter such a
character into the IDE, then the easiest way is probably to dig up
the Unicode code point for it, and use Encodings.UTF8.Chr(thatPoint).
If you're still not sure how to do that, reply and we can dig deeper
with you.
You could also try using Encodings.ISOLatinGreek or whatever as Phil
suggested, but that's not as certain as just using Unicode directly.
It would work only if the system you're running on contains a text
encoding table (or in Windowspeak, a "code page") for that encoding,
such that it can then be converted correctly to Unicode -- might as
well eliminate this middle step, I say.
Best,
- Joe
--
Joseph J. Strout
[EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>