Text files uploaded to S3 are encoded strangely?

后端 未结 7 1074
醉话见心
醉话见心 2021-01-03 19:05

This is the strangest error, and I don\'t even know where to start understanding what\'s wrong.

S3 has been working well, up until suddenly one day (yesterday) it st

7条回答
  •  感动是毒
    2021-01-03 19:41

    You can explicitly set the "Content-Type: text/plain; charset=utf-8", on the file in the S3 console.

    This will tell S3 to serve as text.

提交回复
热议问题