I'm developing a Cross Platform File Sync Application.In Mac OS X to get File System events, i read from /dev/fsevents system buffer and send it over unix sockets to another app. I'm not doing any character encoding until now.     This is my Print in app which recieves the FS Events : ########          File Name ::: ébê123.rtf ######## File Name in WCHAR ::: ébê123.rtf   code which i used to convert char to wchar   int wCharLen1 = mbstowcs(NULL, fName,...