class_docstr: Helper class to read values from the registry
      
class_docstr_tok: ["Helper","class","to","read","values","from","the","registry"]
code: def convert_mbcs(s):
      dec = getattr(s, "decode", None)
      if dec is not None:
          try:
              s = dec("mbcs")
          except UnicodeError:
              pass
      return s
  
imports: import os
  import subprocess
  import sys
  import re
  from distutils.errors import DistutilsExecError, DistutilsPlatformError, CompileError, LibError, LinkError
  from distutils.ccompiler import CCompiler, gen_lib_options
  from distutils import log
  from distutils.util import get_platform
  import winreg
label_desc: Use image node_id 4 for calling the Reg obj's underlying member method code with example usage: obj.convert_mbcs(s) and returns: s