As to the source, I couldn't find out much. Who knows? In the original bug report, Windows encodings are likely. It could even truly be binary data (`jpegPhoto`). So to some extent, this is a last resort.