<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<pre style="background-color: rgb(255, 255, 255); ">Great ! Thank you Frank for the prompt response.</pre><pre style="background-color: rgb(255, 255, 255); ">Noury Farah</pre><pre style="background-color: rgb(255, 255, 255); ">On 12-02-25 02:28 PM, N. Farah wrote:
><i> Hi,
</i>><i>
</i>><i> I have a question about UTF-8 support per this rfc:
</i>><i> <a href="http://trac.osgeo.org/gdal/wiki/rfc30_utf8_filenames">http://trac.osgeo.org/gdal/wiki/rfc30_utf8_filenames</a>
</i>><i>
</i>><i> If UTF-8 is turned on, will the following calls assume that the passed strings
</i>><i> are UTF-8 ?
</i>><i> and the passed folder paths should be in UTF-8 ?
</i>><i>
</i>><i> CPLSetConfigOption( "GDAL_DATA", myDataFolder);
</i>><i>
</i>><i> and
</i>><i>
</i>><i> CPLSetConfigOption( "GDAL_PAM_PROXY_DIR", myTempFolder);
</i>><i>
</i>><i> Any clarification on this is appreciated.
</i>
Noury,
Yes, these will be treated as UTF-8.
Note that the actual code handling these values doesn't do anything
special, but because the underlying functions that will receive the
composed values (ie. VSIFOpen()) expect UTF-8 then the values at the
higher level are also implicitly assumed to be UTF-8.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, <a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev">warmerdam at pobox.com</a>
light and sound - activate the windows | <a href="http://home.gdal.org/warmerda">http://home.gdal.org/warmerda</a>
and watch the world go round - Rush | Geospatial Software Developer</pre>                                            </div></body>
</html>