Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Help - Character code for Delta(Triangle) (Real Studio getting started Mailinglist archive)

Back to the thread list
Previous thread: Matt Neuberg's book, HQX files, and Windows RB
Next thread: Recursion of Recursion of Recursion....of RecusionX


RB Database   -   tom.russell transport.alstom.com
  Help - Character code for Delta(Triangle)   -   Lennox Jacob
   Re: Help - Character code for Delta(Triangle)   -   Phil M
    Re: Help - Character code for Delta(Triangle)   -   Lennox Jacob
   Re: Help - Character code for Delta(Triangle)   -   Joseph J. Strout
    Re: Help - Character code for Delta(Triangle)   -   Lennox Jacob

Help - Character code for Delta(Triangle)
Date: 03.02.06 04:22 (Thu, 2 Feb 2006 19:22:33 -0800 (PST))
From: Lennox Jacob
Hello,

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?

Thanks.

Lennox.

---------------------------------
Brings words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.
_______________________________________________
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>

Re: Help - Character code for Delta(Triangle)
Date: 03.02.06 04:43 (Thu, 2 Feb 2006 19:43:19 -0800)
From: Phil M
On Feb 2, 2006, at 7:22 PM, 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?

Figure out what is the correct REALbasic string encoding name (I
assume it would be ISOLatinGreek or WindowsGreek). Then just write
the following:

Dim delta As String = Encodings.ISOLatinGreek.Chr(&hC4)

_______________________________________________
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>

Re: Help - Character code for Delta(Triangle)
Date: 03.02.06 15:12 (Fri, 3 Feb 2006 06:12:46 -0800 (PST))
From: Lennox Jacob
Thanks Phil,
Joe's suggestion was much easier. It is still useful to know yours since yours may be possible when his is not, and also yours may be able to be used in Win32.
Thanks again.
Lennox.

Phil M <<email address removed>> wrote: On Feb 2, 2006, at 7:22 PM, 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?

Figure out what is the correct REALbasic string encoding name (I
assume it would be ISOLatinGreek or WindowsGreek). Then just write
the following:

Dim delta As String = Encodings.ISOLatinGreek.Chr(&hC4)

_______________________________________________
Unsubscribe or switch delivery mode:

Search the archives of this list here:



---------------------------------
Brings words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.
_______________________________________________
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>

Re: Help - Character code for Delta(Triangle)
Date: 03.02.06 04:56 (Thu, 2 Feb 2006 20:56:46 -0700)
From: Joseph J. Strout
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

Re: Help - Character code for Delta(Triangle)
Date: 03.02.06 14:39 (Fri, 3 Feb 2006 05:39:07 -0800 (PST))
From: Lennox Jacob
Thanks Joe,
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.
http://www.ncmug.org/tips/character_palette.html

Lennox.

---------------------------------
Yahoo! Mail - Helps protect you from nasty viruses.
_______________________________________________
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>