Dll/cpl UTF-8 conversion patch by Elton Chung. See issue #6333 for more details. svn path=/trunk/; revision=55969