Changes in / [268e1e8:dbe09b6]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/PCDM/src/pcdm-xprocess.cpp

    rb28c8d9 rfbbd5c0  
    170170  QLocale mylocale; 
    171171  QString langCode = mylocale.name(); 
    172   if( langCode.toLower() == "c" ){} // do nothing extra to it 
    173   else if(!environ.value("MM_CHARSET").isEmpty() ){ langCode.append( "."+environ.value("MM_CHARSET") ); } 
     172  if( langCode.toLower() == "c" ){ langCode = "en_US"; } // default to the US english (PCDM code default), LANG=C causes problems 
     173  if(!environ.value("MM_CHARSET").isEmpty() ){ langCode.append( "."+environ.value("MM_CHARSET") ); } 
    174174  else{ langCode.append(".UTF-8"); } 
    175175  // USER, HOME, and SHELL are set by the "su" login 
Note: See TracChangeset for help on using the changeset viewer.