Re: database encoding

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: database encoding
Date: 2011-03-09 18:36:47
Message-ID: il8hbv$u94$1@dough.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Haris, 09.03.2011 19:23:
> Hi.
>
> I set the database encoding to utf-8
> (Croatian collation and character type)
> and when I try to add a new record via html form
> (the web page is also utf-8) I get, for example, &#273 instead of "đ",
> in database table.
> Everything is correctly displayed on the web page after submitting a form
> but not in database.
> Should I change the database encoding to windows 1250 or the problem is somewhere else ?

I would say, you need to change your application. Apparently it is sending the HTML entities not the real values.

Regards
Thomas

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Sachin Srivastava 2011-03-10 05:31:32 Re: Cannot install pgAgent on Windows
Previous Message Haris 2011-03-09 18:23:53 database encoding