Module shellutils :: Class WindowsLanguageDiscoverer
[hide private]

Class WindowsLanguageDiscoverer

source code

OsLanguageDiscoverer --+
                       |
                      WindowsLanguageDiscoverer

Windows specific discoverer

Instance Methods [hide private]
 
__init__(self, shell) source code
 
getLanguage(self)
Determine language for Windows system.
source code
 
__getLanguageFromWmiUsingCodeSet(self) source code
 
__getLanguageFromWmiUsingOsLanguage(self) source code
 
__parseLanguageFromWmi(self, osLanguageOutput) source code
 
getLanguageFromWmi(self)
Determine language executing WMI commands
source code
 
getLanguageFromChcp(self)
Determine language executing chcp command
source code
Method Details [hide private]

__init__(self, shell)
(Constructor)

source code 
Overrides: OsLanguageDiscoverer.__init__

getLanguage(self)

source code 

Determine language for Windows system.

Overrides: OsLanguageDiscoverer.getLanguage

Note: English will be used as default one if fails to determine machine encoding