[BISERVER-11268] Fix locale file processing on import/export with special characters