Is there a way to detect filename encoding on Windows and Linux in c++? -


im trying make crossplatform application in c++ character conversion. have setup conversion table in utf-8 rules. eq( = 诶). use boost library filenames. understanding have convert them encoding x utf-8, conversion, convert encoding x , save new filename. how find out encoding filesystem using?

windows uses utf-16 , linux platforms "binary". binary mean whatever bytes see filename filename - don't decode or re-encode bytes. there no indicator state format written in, it's utf-8.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -