original_string: public static function getCharsetFromFontName($name)
      {
          switch ($name) {
              // Add more cases. Check FONT records in real Excel files.
              case 'EucrosiaUPC':
                  return self::CHARSET_ANSI_THAI;
              case 'Wingdings':
                  return self::CHARSET_SYMBOL;
              case 'Wingdings 2':
                  return self::CHARSET_SYMBOL;
              case 'Wingdings 3':
                  return self::CHARSET_SYMBOL;
              default:
                  return self::CHARSET_ANSI_LATIN;
          }
      }
code: public static function getCharsetFromFontName($name)
      {
          switch ($name) {
              // Add more cases. Check FONT records in real Excel files.
              case 'EucrosiaUPC':
                  return self::CHARSET_ANSI_THAI;
              case 'Wingdings':
                  return self::CHARSET_SYMBOL;
              case 'Wingdings 2':
                  return self::CHARSET_SYMBOL;
              case 'Wingdings 3':
                  return self::CHARSET_SYMBOL;
              default:
                  return self::CHARSET_ANSI_LATIN;
          }
      }
code_tokens: public static function getCharsetFromFontName ( $ name ) { switch ( $ name ) { // Add more cases. Check FONT records in real Excel files. case 'EucrosiaUPC' : return self :: CHARSET_ANSI_THAI ; case 'Wingdings' : return self :: CHARSET_SYMBOL ; case 'Wingdings 2' : return self :: CHARSET_SYMBOL ; case 'Wingdings 3' : return self :: CHARSET_SYMBOL ; default : return self :: CHARSET_ANSI_LATIN ; } }
docstring: Returns the associated charset for the font name.
  
  @param string $name Font name
  @return int Character set code
docstring_tokens: Returns the associated charset for the font name .