/** * Set the character set encoding for this page. By default it's utf-8, but you could change it to, say, windows-1252, to * improve interoperability with extended characters being imported from windows excel. */ static function set_encoding($encoding) { self::$encoding = $encoding; }