Thank you, o wise monks
Yes it was perlocale, the doc I had missed.
I added :
setlocale(LC_ALL, "fr_FR");
and associated code, and my probem vanished. I suppose the the environment of the handler is not in the same locale the the one under the console...
Thank you
Pierre Couderc