Ubuntuã§ãã¹ã°ã¬ãå ¥ããã¨ãã«ã¯ã¾ã£ãã®ã§ã¡ã¢ã EUC_JPã®ãã¼ã¿ãã¼ã¹ãä½ããªã ãã¹ã°ã¬ã®ã¤ã³ã¹ãã¼ã«ã¯ãããç°¡åã§ã $ sudo apt-get install postgresqlã¤ã³ã¹ãã¼ã«ãèµ·åã¾ã§ãã£ã¦ããã¾ãã ã§ãæåã¯UTF-8ã®ãã¼ã¿ãã¼ã¹ã°ã£ããä½ã£ã¦ãã¦æ°ã¥ããªãã£ãã®ã§ãããããEUC_JPã®ãã¼ã¿ãã¼ã¹ãä½ããã¨ããã¨ä¸è¨ã¨ã©ã¼ãåºã¾ãã $ createdb -E EUC_JP -U hoge testdb createdb: database creation failed: ERROR: encoding EUC_JP does not match server's locale ja_JP.UTF-8 DETAIL: The server's LC_CTYPE setting requires encoding UTF8.å æ¥ã®ã¨ã³ããªã«ã
{{#tags}}- {{label}}
{{/tags}}