kaitai_struct_compiler icon indicating copy to clipboard operation
kaitai_struct_compiler copied to clipboard

Fix incorrect encoding literals -- escape them

Open Mingun opened this issue 1 year ago • 0 comments

Due to C++ it was not possible to call doStringLiteral in BaseTranslator, because in C++ this method returns std::string object instead of a "..." literal.

Fixes the following KST tests:

  • str_encodings_escaping_enc
  • str_encodings_escaping_to_s

Mingun avatar Apr 15 '24 18:04 Mingun