pikotools/tests
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
..
Makefile changed the way of building in Makefiles 2021-05-17 03:20:51 +02:00
Makefile.dep fix: correctly escape json/xml/csv wide strings 2022-02-03 19:08:21 +01:00
convert.cpp namespace PT renamed to pt 2021-05-20 16:11:12 +02:00
convert.h namespace PT renamed to pt 2021-05-20 16:11:12 +02:00
csvparser.cpp namespace PT renamed to pt 2021-05-20 16:11:12 +02:00
csvparser.h added CSVParser - a csv parser 2021-05-19 03:26:46 +02:00
main.cpp fixed: using size() when serializing strings - this allows to serialize a string which contain a null character 2021-06-14 13:48:32 +02:00
mainoptionsparser.cpp changed utf8 functions: PascalCase to snake_case 2021-05-21 00:24:56 +02:00
mainoptionsparser.h MainSpaceParser class has been renamed to MainOptionsParser 2021-05-18 23:57:58 +02:00
test.cpp added 'tests' directory with tests for the pikotools library 2021-05-10 20:08:50 +02:00
test.h added 'tests' directory with tests for the pikotools library 2021-05-10 20:08:50 +02:00