Allowable characters for Custom properties names
Posted: Wed Feb 10, 2010 3:34 am
Before I do a lot of work on an idea I have I need to be sure about allowable characters in names of Custom Properties.
The User Guide says "letters, numbers and underscores" and "must start with letter or underscore" and "must be one word".
I am concerned with what "letters" means.
I have tried using letters with diacritical marks such as "Ä ñ é" and these seem to be allowable. (That is I can access the value stored in such a named custom property.)
Is there a definitive answer as to what can and can't be used?
As an aside I was interested to note that the toLower() function also works for these characters with diacritical marks in the range chartonum 192 to 222, (simply adding 32 to the chartonum value to get to the lower case version) apart from 215 "×" to 247 "÷" , and confusingly from 223 "ß" to 255 "ÿ" ( 159 is "Ÿ") but not for Ž to ž and Š to š.
The User Guide says "letters, numbers and underscores" and "must start with letter or underscore" and "must be one word".
I am concerned with what "letters" means.
I have tried using letters with diacritical marks such as "Ä ñ é" and these seem to be allowable. (That is I can access the value stored in such a named custom property.)
Is there a definitive answer as to what can and can't be used?
As an aside I was interested to note that the toLower() function also works for these characters with diacritical marks in the range chartonum 192 to 222, (simply adding 32 to the chartonum value to get to the lower case version) apart from 215 "×" to 247 "÷" , and confusingly from 223 "ß" to 255 "ÿ" ( 159 is "Ÿ") but not for Ž to ž and Š to š.