Text files uploaded to S3 are encoded strangely?

后端 未结 7 1013
醉话见心
醉话见心 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:51

    If your data includes non-ASCII multibyte characters (such as Chinese or Cyrillic characters), you must load the data to VARCHAR columns. The VARCHAR data type supports four-byte UTF-8 characters, but the CHAR data type only accepts single-byte ASCII characters.

    Source: http://docs.aws.amazon.com/redshift/latest/dg/t_loading_unicode_data.html

    0 讨论(0)
提交回复
热议问题