Downloading regular text file shows up in chinese characters






















Download and install foobar player from its website. Download chacon plugin for foobar from here and install it. To install the plugin, first unzip it. Drag and drop unzip chacon dll file onto Components pane and click Apply. We added 4 files with garbled tags to the foobar player: two of them are in Japanese and two in Cyrillic. Technical Support for SafeSync for Enterprise. Download Center. Product Documentation. Support Policies. Product Vulnerability. Ideas Exchange.

This website uses cookies to save your regional preference. Internet Explorer is detected! Continue to Business Support.

Geolocation Notification. Please approve access on GeoIP location for us to better provide information based on your support region. If your location now is different from your real support region, you may manually re-select support region in the upper right corner or click here. Business Product Support Pages. I want to download a file with Django's httpresponse method.

The name of the file has some special characters, like Chinese. Does anyone know how to fix this problem? I think it may have something to do with Encoding Translated Strings. Browser compatibility is a mess. Thanks to bronze man and Kronel , I have come to an acceptable solution to this problem:. Please note that filename doesn't really need to be a parameter. However, the above code will let your function know what it is. Useful if you handle multiple different Content-Types in the same function.

Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 9 years, 9 months ago. Active 4 years, 6 months ago. Viewed 3k times. Could anyone tell me how to convert the file name?



0コメント

  • 1000 / 1000