From: Harald Armin Massa <haraldarminmassa@gmail.com>
To: Sadm sadm <sadm@bsdmail.com>
Cc: pgsql-general@postgresql.org
Cc: pgsql-jdbc@postgresql.org
Subject: Re: browser shows garbage instead of UTF-8 characters
Date: Thu, 13 Apr 2006 16:16:36 +0200
Message-ID: <7be3f35d0604130716i4605e347r3c71eb6d5d963ae3@mail.gmail.com> (raw)
In-Reply-To: <20060413111242.27E6ACA0A4@ws5-11.us4.outblaze.com>
References: <20060413111242.27E6ACA0A4@ws5-11.us4.outblaze.com>
Sadm,
what is the encoding setting of your database driver?
What happens if you put out the retrieved Data to a console or a debug
window?
Have you analyzed the garbage, what is it? Escaped Characters? Hungarian?
Arabian? Chinese??
How do you "fetch a record", how do you output it to "THE" "Web browser"?
What are your HTML Headers? Which HTML / XHTML do you use?
Harald
On 4/13/06, Sadm sadm <sadm@bsdmail.com> wrote:
>
> Hello!
> I have a PostgreSQL database with UTF-8 encoding. It stores russian
> characters.
> When I fetch a record from this database and output it to the web browser
> as html page, it
> looks like a garbage instead of normal russian characters. I'm using html
> with <meta http-equiv="Content-Type" content="text/html; charset=utf-8">.
>
> Please help me to find a mistake.
> Thanks in advance.
>
>
> --
> _______________________________________________
> Get your free email from http://mymail.bsdmail.com
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
>
--
GHUM Harald Massa
persuadere et programmare
Harald Armin Massa
Reinsburgstraße 202b
70197 Stuttgart
0173/9409607
-
PostgreSQL - supported by a community that does not put you on hold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: haraldarminmassa@gmail.com, sadm@bsdmail.com, pgsql-general@postgresql.org
Subject: Re: browser shows garbage instead of UTF-8 characters
In-Reply-To: <7be3f35d0604130716i4605e347r3c71eb6d5d963ae3@mail.gmail.com>
References: <20060413111242.27E6ACA0A4@ws5-11.us4.outblaze.com> <7be3f35d0604130716i4605e347r3c71eb6d5d963ae3@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox