c0838de3a4
Add an operator<<(char32_t) to the Stream class, char32_t will be used as a main character instead of a wchar_t (this is needed on systems where sizeof(wchar_t) is equal to 2). while here: - add to utf8: size_t wide_to_int(const Stream & stream, size_t stream_index, int & res, bool & correct) template<typename StreamType, typename OutputFunction> bool wide_to_output_function(StreamType & buffer, OutputFunction output_function, int mode = 1) template<typename OutputFunction> bool wide_to_output_function_by_index(const Stream & stream, OutputFunction output_function, int mode) - add to convert/misc: bool try_esc_to_tex(char32_t c, pt::Stream & out) bool try_esc_to_html(char32_t c, pt::Stream & out)