Change encoding to utf-8 when needed
Merge pull request #819 from geoadmin/dev_wms

Change encoding to utf-8 when needed