patches/ppml: always use base64 encoding for non-utf8 string.
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.
Showing
Please register or sign in to comment