
25 Feb
2006
25 Feb
'06
6:16 a.m.
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. Please see the the attachment. Regards, Takeshi Mouri