• Kazuhiko Shiozaki's avatar
    patches/ppml: always use base64 encoding for non-utf8 string. · 03d737fc
    Kazuhiko Shiozaki authored
    in most cases, where ASCII-range characters are less than 80% of input
    non-utf8 string, the result is same but we can reduce needless string
    replacement calls. in rare case, for example wrongly iso-8859-1
    encoded properties or PDF data, the result becomes different, i.e.
    before: ASCII-range characters + escaped characters => after: base64
    encoding, but the meaning is still same.
    03d737fc
ppml.py 23.9 KB