How to "create" unicode characters

Fellow coders,

I need to display unicode characters using their codes, something like CHR for Ascii but I need it for Unicode.
Any ideas ?

tks

&u002A - prints a dot.
Search for unicode chars to find the number for what you want.

&uXXXX will give you a literal of that code. For example, these are identical:

const kA1 = "a"
const kA2 = &u61

You can also use Chr with the decimal or hex values:

s1 = Chr( 97 )
s2 = Chr( &h61 )

All of these represent “a”.

Thanks Kem, this is what I call “an answer”

For those of you on a MAC, many (by no mean all) special characters can be entered directly by using the option key

a=
b=?
g=
j=?

etc. (not sure those will show up properly for everyone or not )

For ones that are accented characters like “a” you can just press & hold the “a” key to get the popup selector
One of many things that made possible through use of the TextInput Canvas that wont work properly any other way

Windows and Linux too Norman?

http://en.wikipedia.org/wiki/Option_key

OSX only for this

[quote=179703:@Norman Palardy]For ones that are accented characters like “a” you can just press & hold the “a” key to get the popup selector
One of many things that made possible through use of the TextInput Canvas that wont work properly any other way[/quote]

Seems to work very well here, in Desktop TextFields and TextArea as well. Thank you for mentioning it. I come from the Mac OS 7 KeyCaps era, when that was not available :wink:

Not in Windows because of TypeMatic (autorepeat). But I am sure one could roll one’s own fairly easily.

[quote=179707:@Dave S]http://en.wikipedia.org/wiki/Option_key

OSX only for this[/quote]

Windows has AltGr that does pretty much the same kind of thing AltGr key - Wikipedia

No
This is a system offered service

As is using the dictionary
Try selecting then press cmd-ctrl-d in the code editor