Amazon resolves download file garbled

Source: Internet
Author: User

When you are doing multiple sites, you may encounter downloaded report files garbled.

French sites and Italian sites will appear such a situation, how to solve it?

This is due to the problem of coding, when we read the data into the local database, we may wish to first convert the format to the corresponding country to correctly recognize the format.

Also seen in the documentation.

Also need to explain, due to the operating system set the default language reasons, in the small country site, we downloaded the report may appear garbled. This is a normal situation, when invoking the interface, there is no way to solve the direct download of the normal code.

Now the method is to download the garbled file, through the stream operation, re-encode, according to the corresponding encoding to set the encoding.

Amazon resolves download file garbled

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.