Page 1 of 1

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

Posted: Mon May 07, 2007 09:02
by Pompei2
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.

Posted: Mon May 07, 2007 10:21
by Rackle
In Windows you can use charmap.exe to lookup Unicode codepoints.

Posted: Mon May 07, 2007 11:40
by lindquist
There is also an extensive collection of unicode charts over at
http://www.unicode.org/charts/

Posted: Mon May 07, 2007 11:48
by Pompei2
cool thank you.

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

Posted: Mon May 07, 2007 13:10
by ldb
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?