File download with non-ASCII file names.

I

itsuo.okamoto

Hi,

We have Korean customers, who need to download files from
the middletier to the client. They have files of which
name has Korean characters.

To implement this feature, we set HTTP header as below.

Content-Type: application/octet-stream
Content-Disposition: attachment; filename=%E3%81%82.txt

Here we set filename with non-ASCII characters in URL
form in UTF8. Then we observe two issues with this.

1. Open dialog does not work properly
The confirmation dialog and the save dialog
show file name correctly and the file can be saved
succesfully.

However, when our customers select "Open" in the
confirmation dialog, the associated application
gets the file name in URL encode form as it is.

2. The behavior of download gets affected by Advanced
Option

There is an advanced option named "Always send URLs as
UTF-8" in "Tools - Internet Options - Advanced" menu.
The default setting for this option is "checked".

Then file download works as mentioned in #1 when
we encode non-ASCII character in URL form in UTF8.

But if this option is "unchecked", non-ASCII characters
are garbled in all dialogs.

So we tried to encode non-ASCII characters in the
character set of their client setup, which is EUC-KR.

Then the confirmation dialog gets garbled characters
though the save dialog shows them correctly.

And the behavior of "Open" is the same as #1.

So we think there is no way to get file download work
thoroughly unless the above issues are fixed by IE or MS
can provide the guide to fix this issue.

If you can provide us any information about this issue, I
would appreciate it.

Regards,

Itsuo
 
G

Guest

Hi,

I have MSDN subscription. And I thought the question is
supposed to be answered in 2 business days.

Can you please update me on this?

Regards,

Itsuo
 
F

Frank Saunders, MS-MVP

Hi,

I have MSDN subscription. And I thought the question is
supposed to be answered in 2 business days.

Regards,

Itsuo

That's if you post in the managed nesagroups. This is not one of them.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top