0

Fix sprintf to cope with locale

I think there's a bug in sprintf that didn't take care of the setted locale as define in the documentation.