Peter Kümmel wrote: > encoding. But therefore we need a new dialog and a new conversion function > docstring const from_encoding(std::string const & s); > Or how is the conversion from an arbitrary encoding done?
/// convert \p s from encoding \p encoding to ucs4. /// \p encoding must be a valid iconv 8bit encoding std::vector<lyx::char_type> eightbit_to_ucs4(char const * s, size_t ls, std::string const & encoding);