Use YY_CHAR macro instead of `char` type in places where processed text is stored
Add test cases for charset support
Add implementation for charset support
Extend test-charset to check C++ scanner too
Make charset support working with C++ scanners too