Attachment encoding test (ensure conversion to UTF-8 on download)