Unsupported Unicode characters

Everything about development and the OpenMW source code.
Post Reply
User avatar
akortunov
Posts: 899
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation

Unsupported Unicode characters

Post by akortunov »

Some Unicode characters, used in the game localization and mods, are unsupported by OpenMW right now:
  • U+2013 (EN DASH)
  • U+2014 (EM DASH)
  • U+201C (LEFT DOUBLE QUOTATION MARK)
  • U+201D (RIGHT DOUBLE QUOTATION MARK)
  • U+2018 (LEFT SINGLE QUOTATION MARK)
  • U+2019 (RIGHT SINGLE QUOTATION MARK)
  • Some unknown characters from the French PNOG plugin
Also would be nice to implement these characters:
  • U+2212 (MINUS SIGN)
  • Ё U+0401 (CYRILLIC CAPITAL LETTER IO)
  • ё U+0451 (CYRILLIC SMALL LETTER IO)
Related bugreport: https://bugs.openmw.org/issues/1987

UPDATE: the Pelagiad font can handle most of these characters.

Any ideas how to display these characters correctly?
Is there any description about openmw_font.xml? What the "Code" node means?
User avatar
AnyOldName3
Posts: 2666
Joined: 26 Nov 2015, 03:25

Re: Unsupported Unicode characters

Post by AnyOldName3 »

What kind of not supported? Is MyGUI just printing them as a square or two (in which case, the issue also affects emoji and, at least on my machine, fairly basic characters like é)? Does OpenMW crash if they're used? Not supported can mean many things.
User avatar
akortunov
Posts: 899
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation

Re: Unsupported Unicode characters

Post by akortunov »

AnyOldName3 wrote: 22 Nov 2017, 15:00 What kind of not supported?
Wrong characters are displayed (screenshots are at attached bugreport link).
I guess there are tricky hacks in vanilla game fonts (Pelagiad displays these characters fine, but has other issues).
Post Reply