Unicode compatible CSV parameter in C ++

This can be duplicated by CSV API for Unicode or How can I read and parse CSV files in C ++? but not really. The first is about the C library, which has the potential to work, but needs some code modification. In the second case, Unicode support is not mentioned. I would rather open a new question instead of polluting the existing ones.

Since I am not an expert in i18n and unicode encoding, I'm just wondering if there is such a library for C ++ out of the box?

I am currently working hard to call the Csv Python parser in C ++, which is pretty slow.

+4
source share
1 answer

From the point of view of CSV, this does not matter at all. Since all traditional CSV control characters are in the lower ASCII region and are identical for all ASCII and Unicode variants. You should ask, "How to read or write the contents of a file as a Unicode character stream" in your specific programming language . You can then interpret this character stream in any format, including CSV.

0
source

Source: https://habr.com/ru/post/1533633/


All Articles