pikotools/src
Tomasz Sowa 6b97b1b74a fix: correctly escape json/xml/csv wide strings
A wide string was first changed to utf-8 and then escaped to json/xml/csv
which is incorrect. First should be escaped and then changed to utf-8.

Add TextStreamBase<>::iterator and TextStreamBase<>::const_interator as classes
with a method wchar_t get_unicode_and_advance(const iterator & end)
to return one character either from utf-8 stream or from wide stream.

Let TextStreamBase<>::operator<<(wchar_t v) correctly use utf-8.
2022-02-03 19:08:21 +01:00
..
convert fix: correctly escape json/xml/csv wide strings 2022-02-03 19:08:21 +01:00
csv - added some converting methods: esc_to_json(...), esc_to_xml(...), esc_to_csv() (convert/misc.h) 2021-10-12 19:53:11 +02:00
date added to Date: SerializeMonthAsRoman(Stream & out, int month) - serialize month in Roman numerals 2021-07-06 21:44:04 +02:00
html read CDATA as an ordinary text 2022-01-18 19:36:40 +01:00
log Log class has the Stream class as a base class now 2021-06-24 20:52:48 +02:00
mainoptions removed support for so called child objects from Space (this was an old feature of Space struct, now not needed) 2021-06-26 22:56:12 +02:00
membuffer namespace PT renamed to pt 2021-05-20 16:11:12 +02:00
space added: Space::Space(const Date & date), Space::set(const Date & date), Space::add(const Date & date), Space::add(const wchar_t * field, const Date & date) 2021-11-05 09:27:32 +01:00
textstream fix: correctly escape json/xml/csv wide strings 2022-02-03 19:08:21 +01:00
utf8 fix: correctly escape json/xml/csv wide strings 2022-02-03 19:08:21 +01:00
Makefile removed definition of CXX and CXXFLAGS from Makefile 2021-05-10 20:07:08 +02:00
Makefile.dep fix: correctly escape json/xml/csv wide strings 2022-02-03 19:08:21 +01:00