Extracted from as of .
   

Class Locale.Charset.Decoder

Inheritance graph
Locale.Charset.Decoder Locale.Charset.Encoder
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.