| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
Locale
Locale.Charset
Locale.Charset.Decoder

# Class Locale.Charset.Decoder

Description

  Virtual base class for charset decoders.

Example

      string win1252_to_string( string data )
         {
           return Locale.Charset.decoder("windows-1252")->feed( data )->drain();
         }

Variable charset

  `string Locale.Charset.Decoder.charset`

Description

  Name of the charset - giving this name to decoder returns an instance of the same class as this object.

Note

  This is not necessarily the same name that was actually given to decoder to produce this object.