RamLog and standard log should preserve utf8 encoding when truncating

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: 2.0.7, 2.2.0
    • Component/s: Logging
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      RamLog::write() only copies the first 255 bytes of a long string, but if the last two bytes are part of a utf-8 encoding (e.g. 0xd0 0x80), a RamLog consumer may spuriously fail to validate the string is utf-8.

            Assignee:
            Geert Bosch
            Reporter:
            Ben Becker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: