Use UTF8 setlocale for dealing files. This allows string convertions to be correctly interpreted.

Open Julien Wadel requested to merge fix/setlocale_utf8 into release/5.2

By forcing in UTF8, we are sure that convertions into system locale will be correctly done without having to know in advance what encoding it must be use.

Merge request reports