{"image_url":null,"url":"https://www.shigemk2.com/entry/bad_hex_sequence","title":"Bad UTF-8 hex sequence","author_name":"shigemk2","categories":["AWS"],"author_url":"https://blog.hatena.ne.jp/shigemk2/","description":"RedShift\u3092\u3054\u306b\u3087\u3054\u306b\u3087\u3057\u3066\u3044\u308b\u3068\u3001\u3053\u3046\u3044\u3046\u30a8\u30e9\u30fc\u306b\u898b\u821e\u308f\u308c\u308b\u3053\u3068\u304c\u3042\u308b\u3002 \u30de\u30eb\u30c1\u30d0\u30a4\u30c8\u6587\u5b57\u306e\u30ed\u30fc\u30c9\u30a8\u30e9\u30fc - Amazon Redshiftdocs.aws.amazon.com RedShift\u306b\u30c7\u30fc\u30bf\u306fUTF-8\u3057\u304b\u5165\u3089\u306a\u3044\u3002\u305d\u3053\u306b\u3001\u4ed6\u306e\u6587\u5b57\u30b3\u30fc\u30c9\u306e\u74b0\u5883\u304b\u3089\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30de\u30f3\u30c9\u3092\u6253\u3063\u3066RedShift\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u8868\u984c\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3002 echo \"SELECT a, CASE WHEN a=1 THEN '\u307b\u3052\u307b\u3052' END FROM test;\" | psql -h redshift.aws.com -p 5439 \u3068\u3044\u3046\u308f\u3051\u3067\u3001\u6587\u5b57\u30b3\u30fc\u30c9\u306b\u306f\u6c17\u3092\u3064\u3051\u305f\u3044\u3002","blog_url":"https://www.shigemk2.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2Fbad_hex_sequence\" title=\"Bad UTF-8 hex sequence - by shigemk2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","version":"1.0","width":"100%","height":"190","blog_title":"by shigemk2","type":"rich","published":"2015-06-17 22:03:15"}