Fstream open fails

A

Alamelu

fstream open fails for a path with non-english characters(chinese), in
project settings i have enabled MBCS and Unicode, why should it still fail

How to make fstream work for a path with non-english charcter
 
D

David Wilkinson

Alamelu said:
fstream open fails for a path with non-english characters(chinese), in
project settings i have enabled MBCS and Unicode, why should it still fail

How to make fstream work for a path with non-english charcter

How did you enable MBCS *and* Unicode? Aren't these alternatives?

My advice is to compile for Unicode. In VS2005 and VS2008, fstream can open
UTF-16 filenames (Extension to the c++ standard).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top