Re: Help: Postgres, Java and Extended Characters? Solved

From: rjb26(at)hotmail(dot)com
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Help: Postgres, Java and Extended Characters? Solved
Date: 2001-09-11 18:11:28
Message-ID: esksptoql7j9alt5u1di290a85ir45upd0@4ax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, 08 Sep 2001 13:34:44 +0200, rjb26(at)hotmail(dot)com wrote:

>Help,
>
>I have moved an application from one Linux box to another, running
>Java
>
>Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
>Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode)
>Redhat7.1
>Apache JServ 1.1.2
>servlet-2.0
>PostgreSQL 7.1.2
>
>On my old setup, extended chars (e.g. å, ä and ö) all displayed fine,
>but
>now they just appear as a ?
>
>Can somebody advise what I need to change to get these to display
>correctly in the servlet generated html page.
>
>Process is as follows:
>Servlet retrieves data from postgres and display it in an html page.
>If I have the following in the database table (ausgewählten), it
>displays as (ausgew?hlten)
>If, I have the following in the table (ausgewählten), it will
>display correctly.
>
>Iam at a loss as to where the problem lies. Encoding in both db's is
>SQL_ASCII. Is it Linux, Apache, Java, or Postgres that is producing
>this strange scenario?
>
>Any ideas? TIA
>
>
Simply changed the encoding in the db to LATIN1. Don't know why this
worked on other machine - possibly a bug in previous version of
Postgres, as encoding in that db was set to SQL_ASCII

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Lamar Owen 2001-09-11 18:20:32 Re: USA Disaster
Previous Message Ryan Mahoney 2001-09-11 18:03:52 Re: USA Disaster