BattleScribe / Release

Bug tracking for the release (live) version of BattleScribe
13 stars 2 forks source link

Some unicode characters don't render correctly on macOS #241

Open Floppy opened 3 years ago

Floppy commented 3 years ago

In creating the Kill Team 2021 data, we need to use some unicode geometric symbols for distances. On macOS, some of the symbols we'd like to use don't render correctly in the viewed rosters, just showing the missing character symbol, ￿. It doesn't seem to be related to specific ranges, some in the "Misc geometric character" range work fine, some don't, and all characters display fine in VSCode looking at the XML, so it's not a general macOS thing.

Could it be a font choice thing when rendering the rosters, or is there some processing somewhere that's breaking certain characters? The same happens whether in markdown, HTML, or whatever - all output formats are affected.

Bug report and investigation at the catalogue level is at https://github.com/BSData/wh40k-killteam/issues/607, but I think this is something Battlescribe itself is doing.

Floppy commented 3 years ago

Incidentally, it's not a problem on the iOS app, though I guess that's a completely different Battlescribe codebase.

Floppy commented 2 years ago

I think this might be indicative of a more general problem with unicode handling in Battlescribe. Kill Team 2021 uses some non-ASCII symbols, but adding them in the data editor and then creating rosters, they don't come out correctly encoded as &#x1234 forms in the roster XML. as they should be. It would be good I think to have a full run through unicode support in Battlescribe, as this must be a major problem for non-english users too?