For example, attached file named in russian KOI8-R encoding displayed like:
=?koi8-r?B?687Jx8ExLnhscw==?=_0
Attached file in sites/default/files directory has the same name
My support.module version string is:
// $Id: support.module,v 1.3.2.23 2009/07/31 16:25:41 jeremy Exp $
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | From_ctx_menu.zip | 3.16 KB | Tars |
| #3 | From_OutlookInterface.zip | 4.79 KB | Tars |
| #3 | Attachment.zip | 145 bytes | Tars |
| #3 | Post_FromCtx.GIF | 21.36 KB | Tars |
| #3 | Post_FromOutlook.GIF | 16.52 KB | Tars |
Comments
Comment #1
Tars commentedComment #2
jeremy commentedAre you manually attaching these files using the upload module? Or the comment_upload module? Or are they being attached from emails?
I don't understand what is wrong? What do you expect to happen, versus what is happening? Can you attach a sample file that I can use for testing?
Comment #3
Tars commentedHi Jeremy,
Sorry for delay in conversation.
I'm using Microsoft Outlook.
When I attempt to send attached file with russian characters in filename to mailbox configured for inbound ticket intagration, I expect to get original file name in posted ticket (in Russian). But actually, I get records like =?koi8-r?B?9MXL09TP19nKIMTPy9XNxc7ULnR4dA==?= instead file name in Russian every time when I send mail message containing file attached.
I have attached some screenshots and sample Outlook message files.
message file: From_OutlookInterface.zip products ticket shown on Post_FromOutlook.GIF screenshot.
Message file: From_ctx_menu.zip, products ticket shown on Post_FromCtx.GIF screenshot file.
Text file contains russian characters in filename is also attached to this post: Attachment.zip
message file From_ctx_menu.zip contains some text in Russian, so you can see unreadable encoded text instead of russian text in ticket body. But russian text in ticket's subject is fine. So, problem is not only in attached file name.
I have tried to post ticket in another non-english and non-russian language (azeri) - I got same result - unreadable file name, unreadable MIME-encoded ticket body.
If you need additional information about this issue, please tell me.
Thank you for help.
Comment #4
jeremy commentedThanks! I'll test with these attachments as time permits, and try to make the integration logic more robust.
Comment #5
jeremy commentedI've added some extra handling for attachments that seems to work for me. Please test the latest development snapshot. Committed.
Comment #6
arhak commentedcheck out http://drupal.org/project/transliteration
Comment #7
rsevero commentedI believe this issue is solved with the patch available at #981622: File names with accents of attached files in emails for ticket creation got created with nontranslated filenames: not accessable.