Kind of solved (thanks to bug-hunter). The cause was this line:
(setq locale-coding-system 'utf-8)
But I don't know why, and I would like to know.
Best regards