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
Special characters in asterisms.dat (?)
-
- Developer
- Posts: 1863
- Joined: 21.11.2002
- With us: 22 years
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
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