Set locale to UTF8.

Just added a couple of lines to set the locale to UTF8 to better handle special characters.