Re: Database encoding not recognized by DBD::Pg

Vincent Veyron <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.general
Message-ID <[email protected]>
[Hi Martin, you forgot to cc the list, pasting your message below]

On Mon, 7 Apr 2014 11:38:59 -0400
Martin Gainty <[email protected]> wrote:

> 
> did you try to set the environment variable
> 
> LANG?
> 

You made me discover another difference between the two servers: /etc/environment is empty on the faulty server, and contains 
LANG=fr_FR.UTF-8 
on the working one.

I tried setting it manually, ran dpkg-reconfigure, rebooted, but no luck.

Interestingly, another machine serves correctly the mixed encodings without it (/etc/environment empty), but it's an old workstation that runs debian 6.0, whereas the production and backup servers both run debian 7.4


-- 
					Salutations, Vincent Veyron

http://marica.fr
Gestion des contentieux juridiques, des contrats et des sinistres d'assurance
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.