[Gdal-dev] Wide-character filenames with GDAL file IO?

Mateusz Loskot mateusz at loskot.net
Wed Sep 20 17:59:37 EDT 2006


Andrey Kiselev wrote:
> On Tue, Sep 19, 2006 at 08:50:18PM +0200, Mateusz Loskot wrote:
>> BTW, there is a very nice generic UTF-8 manipulator which
>> may be helpful for GDAL too:
>> http://sourceforge.net/projects/utfcpp
> 
> Mateusz,
> 
> Thanks pointing that project, looks useful for some tasks! But it seems
> it doesn't support UCS-2 encoding which we need to use in Windows
> wopen() function.

Andrey,

You're right. Windows calls Unicode as UCS-2 / UTF-16 encodings.
And this library supports only UTF-8 encoding.

> I am mainly thinking about IBM ICU library, because it
> support a large amount of helpful localization functions which can be
> used in GDAL, not only string conversion stuff.

I think it's a good idea. ICU should solve most of GDAL
internationalization problems.

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net



More information about the Gdal-dev mailing list