The safest way is to see what Qt thinks:
Qt Code:
  1. #include "qapplication.h"
  2. #include "qtextcodec.h"
  3.  
  4. int main( int argc, char **argv )
  5. {
  6. QApplication app( argc, argv );
  7.  
  8. qDebug( QTextCodec::codecForLocale()->name() );
  9.  
  10. return 0;
  11. }
To copy to clipboard, switch view to plain text mode