• jeromemarchand's avatar
    Bytes/string encoding (#2004) · b96ebcd2
    jeromemarchand authored
    * tools: uses 'replace' error handler by default in decode()
    
    Tools might encouter characters from non utf-8 charset (e.g. a file
    name). When this happen, it's better to replace the unexpected
    character by a question mark than crash the tool when all we do is
    to print the string.
    
    * tools: fix a bytes/string issue in attach_perf_event()
    b96ebcd2
biosnoop.py 4.83 KB