Ondsel-Development / FreeCAD

This is the official source code of FreeCAD, a free and opensource multiplatform 3D parametric modeler.
https://www.freecad.org
Other
179 stars 7 forks source link

Malformed unicode characters in status bar #102

Open ekenberg opened 3 months ago

ekenberg commented 3 months ago

Is there an existing issue for this?

Problem description

Status bar does not show unicode characters correctly, please see attached screenshot. In this case, Swedish character ä is replaced by several underscores.

Full version info

OS: Linux Mint 21.3 (X-Cinnamon/cinnamon)
Word size of Ondsel: 64-bit
Version: 2024.2.1.37226 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 2024.2.1)
Hash: 1a1bd7290494aef925a026c87b808ac58d53c3b0
Python 3.11.9, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: English/United States (en_US)
Installed mods: 
  * fasteners 0.5.24
  * Ondsel-Lens 2024.5.6.01

Subproject(s) affected?

None

Anything else?

statusbar

Code of Conduct

pieterhijma commented 3 months ago

See my answers here. FreeCAD only supports ASCII characters in things that can be an expression. Since a filename can be part of an expression, FreeCAD changes characters that are out of the ASCII range into underscores. The behavior you see is currently by design.