Hi wmayer,
Answering your questions, yes, the problem is with all the menus, not just the one on the screenshot.
wmayer wrote:Do you get the strange character for any input field or only for the one of the screen shot? And when you execute this snippet below do you get also strange characters or normal input?
Code: Select all
from PySide import QtGui
s=QtGui.QDoubleSpinBox()
s.setValue(1.5)
s.show()
And what happens with?
Code: Select all
ui=FreeCADGui.UiLoader()
q=ui.createWidget("Gui::QuantitySpinBox")
q.setProperty("unit","mm")
q.show()
Both codes result in this incomprehensive characters (attached images)
Code: Select all
t = "١,٥٠"
[ord(nt) for nt in t]
[217, 161, 44, 217, 165, 217, 160]
wmayer wrote:
And to get some information about your locales you could try this:
Code: Select all
from PySide import QtCore
loc=QtCore.QLocale.system()
loc.country()
loc.language()
loc.measurementSystem()
loc.negativeSign()
loc.toString(1.5)
The information resultant from this test is:
Code: Select all
country: PySide.QtCore.QLocale.Country.Spain
negativeSign: -
meassurementSystem: PySide.QtCore.QLocale.MeasurementSystem.MetricSystem
toString(1.5): u'\u0661,\u0665'
Hope this can be useful for solve the problem! Thank you for help.