charset (Locale::Driver::Win32)

    # File lib/locale/driver/win32.rb, line 35
          def charset
            charset = ::Locale::Driver::Env.charset
            unless charset
              if locales
                tag = locales[0].to_rfc.to_s
                loc = LocaleTable.find{|v| v[1] == tag}
                loc = LocaleTable.find{|v| v[1] =~ /^#{locales[0].language}/} unless loc
                charset = loc ? loc[2] : nil
              else
                charset = "CP1252"
              end
            end
            charset
          end