Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2006-03-03 09:16:17


"Takeshi Mouri" <takeshi.mouri.net_at_[hidden]> wrote in message
news:6AC639D304B615takeshi.mouri.net_at_green.ocn.ne.jp...
> Hi Beman,
>
>> PS: I'd like to hear from programmers using wide character file names.
>> Are
>> they working OK? Are they meeting your needs?
>
> I tested directory_iterator and fstream for Chinese file names
> on Windows XP Japanese edition.
> directory_iterator worked correctly, but fstream didn't.
>
> In detail::narrow_path_api(), GetShortPathNameW() is used for getting
> the short 8.3 form names. This function returns an Unicode string
> which contains non-ASCII characters.
> So, mapping from Unicode to ANSI is necessary.

This is a tough one for me; the test cases you sent separately work fine on
my Win XP SP2 English edition. The differences in test results may have more
to do with codepage differences that edition differences.

In any case, I applied your patch to CVS.

Thank you very much for helping! It is very useful to have reports from
someone with real-world experience in Asian languages.

--Beman


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk