Page 1 of 1

Special characters in asterisms.dat (?)

Posted: 12.10.2004, 20:45
by MindToAsk
I've made a translation (in Romanian) of the constellation names from asterisms.dat and I need to put some special characters in the names. I see that in "Bootes" is a special character starting with "\" (an hex value, I assume...). Now, I tried the same thing for the characters I need (ie. "?", wich in hex is "0xe2") but it didn't worked. Celestia stops rendering the constellation lines when I do this. Can some one help me with this? Where can I find the values I need to put in to get the specific characters?

thanxS,
MindToAsk

Posted: 12.10.2004, 21:16
by granthutchison
Celestia uses Unicode letter codes, indicated by entering "\u" followed by a hex value. You can find a table of Unicode characters and their codes here. So your character ? would be added to Celestia as "\u00e2".
Celestia doesn't support the whole of Unicode, so you might find that not all your characters appear. It's not happy with the correct Romanian t-with-a-comma-below (\u021B), for instance, but fortunately t-cedilla (\u0163) is accepted and comes out looking correct in the Celestia font.

Grant

Posted: 13.10.2004, 04:42
by MindToAsk
Thanks a lot Grant :D
This should do it.

MindToAsk