Boost logo

Boost Users :

Subject: Re: [Boost-users] Open a filename with a wstring or wchar_t *
From: John Dlugosz (JDlugosz_at_[hidden])
Date: 2010-08-03 16:07:28

> All Windows API functions have an ANSI version, including file system
> functions, despite NTFS having Unicode filenames. I do not know what
> happens when an ANSI function has to return some Korean/Japanize file
> name from the file system, on a computer with some latin locale, anyone
> cares to try ?

When it converts to ANSI (that is, code-page encoding), you get non-round-trip substitutions and '?' characters, so you then can't open the file even though it claims to have found it in the directory. Or, you use the short-name alias, which is always 8-character ASCII.


TradeStation Group, Inc. is a publicly-traded holding company (NASDAQ GS: TRAD) of three operating subsidiaries, TradeStation Securities, Inc. (Member NYSE, FINRA, SIPC and NFA), TradeStation Technologies, Inc., a trading software and subscription company, and TradeStation Europe Limited, a United Kingdom, FSA-authorized introducing brokerage firm. None of these companies provides trading or investment advice, recommendations or endorsements of any kind. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at