#ifndefUNICODE#defineUNICODE#endif#include#include#includeusingnamespacestd;intmain(){FILE*resFile;charmultiByteStr[256];ifstreamoFile;FILE*exampleFile;TCHARbuffer[256];system("chcp65001");resFile=_wfopen(L"foo",L"w,ccs=UTF-8");fwprintf(resFile,L"%s",L"C:\\exsistingFolder\\zażółćgęśłąjaźń☺☻♥♦•ć.