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
 
Back
Top