PDA

View Full Version : QWidgets replacing "1/2" characters with single unicode ½ symbol



jason.gibbs@x-navtech.com
4th April 2016, 18:57
We have set a custom font for our application. In QWidget-based UI we have a problem where any string that is "1/2" is automatically converted to the symbol ½. An example of this would be in the Qt-based file browser (non OS-specific browser) when dates would have the form 1/2/2016. The first 3 characters transform to the one-half unicode symbol.

Aside from avoiding "1/2" is there any way to change this behavior?