Re: Problems with utf8 and Loc

Jon Jensen <[email protected]> Thu, 15 Feb 2018 18:40:57 -0700 (MST)
Newsgroups gmane.comp.web.interchange.users
Message-ID <nycvar.YSQ.7.76.1802151839280.2470@ybpnyubfg>
On Fri, 16 Feb 2018, René wrote:

>>  I stumbled into problems when having special characters (åäö and ÅÄÖ)
>>  in the locale-table. They won't get translated correctly, but o get
>>  onstead characters like Ã¥ ä ö Ã? Ã? Ã..
>>
>>  Is there any other setting than MINIVEND_DISABLE_UTF8=0 that i should
>>  "turn on"?
>>
>>  I'm using the latest git-version from github. The database in postgres
>>  9.4 is defined with UTF8 encoding.
>
> Forgot to mention that in have in catalog.cfg these settings
>
> Variable MV_UTF8 1
> Variable MV_HTTP_CHARSET UTF-8

Hi, René!

When using Postgres, you should also have this set in catalog.cfg:

DatabaseDefault PG_ENABLE_UTF8 1

which tells DBD::Pg to decode text from the database as UTF-8 in Perl.

Jon


-- 
Jon Jensen
End Point Corporation
https://www.endpoint.com/

_______________________________________________
interchange-users mailing list
[email protected]
http://www.icdevgroup.org/mailman/listinfo/interchange-users