Hi, > That, and so the UI can use localization without corrupting other > threads that MUST use the C locale (QMP parsing/output of floating point > is particularly important to get right with '.' instead of ',' for a > decimal separator).
A quick look at the setlocale manpage doesn't make clear whenever threads can have different locales or not. Related: Possibly we should move UIs to another *process* instead? At least the ones which use a UI toolkit (i.e. sdl, gtk, cocoa). cheers, Gerd