Postgresql Add UTF8 database

Snippet
$ createdb -E UTF8 -T template0 --locale=en_US.UTF-8 <name>
 
# to figure out actual locale value (sometimes listed as utf8), or UTF8, use locale
$ locale -a | grep en 

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.