Special characters

Report bugs, bug fixes and workarounds here.
Avatar
Topic author
Sirius_Alpha
Posts: 224
Joined: 21.03.2019
With us: 5 years 8 months

Special characters

Post #1by Sirius_Alpha » 17.12.2019, 22:53

Everyone is likely aware of Gǃkúnǁʼhòmdímà, a rather large TNO. We've been able to Latinize its name in Celestia using "G!kun||'homdima" or variants thereof. The recent announcement of new names for a batch of a hundred new extrasolar planets brings with it a similar set of challenges. For example, consider the case of WASP-17 -- a.k.a., "Dìwö."
Spoiler

Code: Select all

1019276787 "Dìwö:WASP-17:TOI-1050:TIC 66818296"
{
   RA 239.9625
   Dec -28.0616666666667
   Distance 1338.5701
   SpectralType "F3V"
   AppMag 11.59
   Radius 961181
   UniformRotation
   {
      Period 600
      Inclination 101.05
      AscendingNode 238.85
   }
   InfoURL "http://simbad.u-strasbg.fr/simbad/sim-basic?Ident=WASP-17"
}

In Celestia the first name is reduced to "D." Close enough I guess. The planet's name is assigned Ditsö̀ (the final character being an o with an umlaut + grave accent), which Celestia turns into just "Dits."

Of course we can continue to Latinze these, but has there been any thought into expanding the versatility of the text encoding in Celestia?
Exoplanet nerd. I maintain a monthly-updated exoplanet catalogue here:
https://celestiaproject.space/forum/viewtopic.php?f=23&t=18705

Avatar
SevenSpheres
Moderator
Posts: 826
Joined: 08.10.2019
With us: 5 years 1 month

Post #2by SevenSpheres » 17.12.2019, 23:54

You can use this site to get the Unicode for the character, e.g. ì = U+00EC, and then escape it in the ssc file as, in this case, "\u00ec".

Gǃkúnǁʼhòmdímà would become "G\u01c3k\u00fan\u01c1\u02bch\u00f2md\u00edm\u00e0", but in this case there are problems; Celestia doesn't seem to support all of these characters, and the name appears as "G?kún??hòmdímà".
My Addons: viewtopic.php?f=23&t=19978 • Discord server admin
Celestia versions: 1.5.1, 1.6.1, 1.6.2, 1.7.0, and some unofficial versions like Celestia-ED

onetwothree
Site Admin
Posts: 706
Joined: 22.09.2018
With us: 6 years 2 months

Post #3by onetwothree » 18.12.2019, 18:58

In 1.7 with truetype fonts this should be fixed.

Janus
Posts: 537
Joined: 13.08.2016
With us: 8 years 3 months

Post #4by Janus » 18.12.2019, 22:33

A thought in addendum.

Can the greeking code be adjusted so that individuals can have international characters are adjusted to the current language if they like?
That way people can select whether to see them in greek code, or the current language.
I always want greeking turned off, but some people might like to see an international name rendered in the original, or their own.


Janus.

onetwothree
Site Admin
Posts: 706
Joined: 22.09.2018
With us: 6 years 2 months

Post #5by onetwothree » 19.12.2019, 15:44

We are waiting for your patches :)

Janus
Posts: 537
Joined: 13.08.2016
With us: 8 years 3 months

Post #6by Janus » 19.12.2019, 16:44

@onetwothree

If I had the to do knowledge linguistic stuff, I would simply make all characters into their phonetic equivalent.
I myself get lost anytime character codes go beyond 127.
The rest of it is basically gibberish to me, unrecognizable, unreadable.
When I set my language to english, I expect to never see anything non english.

All I want is the ability to turn off what is now hardcoded.
What you have done has made celestia harder for me to use personally.
While I know this is not the case for everyone, I find one size fits all solutions frustrating.

I will worry about that later however, my focus is on lua/celx at the moment.


Janus.


Return to “Bugs”