Go to file
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
src fix: correctly escape json/xml/csv wide strings 2022-02-03 19:08:21 +01:00
tests fix: correctly escape json/xml/csv wide strings 2022-02-03 19:08:21 +01:00
.editorconfig added .editorconfig file with tab style and tab size information 2021-05-15 18:34:10 +02:00
.gitignore removed *.a from .gitignore 2021-05-18 23:58:46 +02:00
Makefile fixed memory leak in CSVParser::parse() - a Space struct was allocated but never freed 2021-05-19 22:31:18 +02:00