
14 Jan
2011
14 Jan
'11
4:09 p.m.
On Fri, 14 Jan 2011 17:52:06 +0200, Peter Dimov wrote:
Alexander Lamaison wrote:
Windows can't give you a narrow string in the first place that it can't accept back.
It can, and it does. You can have a file whose name can't be represented as a narrow string in the current code page. If you use an "ANSI" function to get its name, you can only receive an approximation of its real name. If you use the "wide" function, you get its real name.
Ok, I see what you mean. The way I was looking at it, the string Windows gave you was wrong, but correctly encoded :P