Joined May 2013
·
Posted to
Make postgres default to UTF8
over 1 year
ago
One also have to have UTF8 as default in the locale settings for the postgres user in unix.
export LANGUAGE="en_US.UTF-8"
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
This solved the puzzle for me.
Achievements
49 Karma
0 Total ProTip Views
Forked
Have a project valued enough to be forked by someone else
Nephila Komaci
Have at least one original repos where PHP is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Charity
Fork and commit to someone's open source project in need
Raven
Have at least one original repo where some form of shell script is the dominant language
An improvement to this would be to have the helper return
{class: 'active'}
like this:And we can use it now like this now:
<li {{active '/'}}> <a href="/">home</a> </li>
That way, we don't get empty class attributes in the markup.