- /// change the iconv encoding of the input stream
- /// according to the latex encoding and package
- void setEncoding(std::string const & encoding, int const & package);
- /// change the iconv encoding of the input stream
- void setEncoding(std::string const & encoding);
+ /// change the encoding of the input stream according to \p encoding
+ /// (latex name) and package \p package
+ bool setEncoding(std::string const & encoding, int const & package);
+ /// change the encoding of the input stream to \p encoding (iconv name)
+ bool setEncoding(std::string const & encoding);