fopen and wfopen

Joined
Dec 5, 2006
Messages
13
Reaction score
0
Hello everyone,


I think for any platform (no matter whether on the platform, multibyte character or wide character is used as default encoding approach, for example, on Windows CE wide character is used as default encoding approach, i.e. UNICODE or _UNICODE is defined, and on Windows desktop platform, multibyte character is used as default), I could achieve the same function for any platform by either,

1. invoking fopen and pass file name encoded as multibyte character, no matter whether multibyte character or wide character is used as default encoding approach;

2. invoking wfopen and pass file name encoded as wide character, no matter whether multibyte character or wide character is used as default encoding approach.


thanks in advance,
George
 

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