[SOLVED] How/Where to find out a utf32 codepoint ?

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

Pompei2
Home away from home
Home away from home
Posts: 489
Joined: Tue May 23, 2006 16:31

[SOLVED] How/Where to find out a utf32 codepoint ?

Postby Pompei2 » Mon May 07, 2007 09:02

Hi,

I want to make a password editbox. I create a normal editbox and set those two properties:

Code: Select all

<Property Name="MaskText"        Value="True" />
<Property Name="MaskCodepoint"   Value="*" />

Then I saw that MaskCodepoint wants a 32 bit integer as value: the utf32 codepoint of the glyph to use for masking.

What the f ? how do I find out what's the codepoint of a star '*' ? I googled a bit but couldn't find this information.

edit: haha ok a few seconds after clicking on "Submit" it came to my mind that for charachters that are also in the ascii table, the utf32 glyph is the same as the ascii code. Thus for a star '*' it is 42.

Rackle
CEGUI Team (Retired)
Posts: 534
Joined: Mon Jan 16, 2006 11:59
Location: Montréal

Postby Rackle » Mon May 07, 2007 10:21

In Windows you can use charmap.exe to lookup Unicode codepoints.

User avatar
lindquist
CEGUI Team (Retired)
Posts: 770
Joined: Mon Jan 24, 2005 21:20
Location: Copenhagen, Denmark

Postby lindquist » Mon May 07, 2007 11:40

There is also an extensive collection of unicode charts over at
http://www.unicode.org/charts/

Pompei2
Home away from home
Home away from home
Posts: 489
Joined: Tue May 23, 2006 16:31

Postby Pompei2 » Mon May 07, 2007 11:48

cool thank you.

User avatar
ldb
Quite a regular
Quite a regular
Posts: 54
Joined: Sat Mar 24, 2007 13:39
Location: Bloomington, IL
Contact:

Re: [SOLVED] How/Where to find out a utf32 codepoint ?

Postby ldb » Mon May 07, 2007 13:10

Pompei2 wrote:edit: haha ok a few seconds after clicking on "Submit" it came to my mind that for charachters that are also in the ascii table, the utf32 glyph is the same as the ascii code. Thus for a star '*' it is 42.


isnt 42 also the secret to unlocking the mysteries of the universe?
No matter where you go, there you are.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 6 guests