Re: Hebrew support -- please help ! - Mailing list pgsql-general

From Elie Nacache
Subject Re: Hebrew support -- please help !
Date
Msg-id 20040902143118.42198.qmail@web54107.mail.yahoo.com
Whole thread Raw
In response to Re: Hebrew support -- please help !  (Ulrich Wisser <ulrich.wisser@relevanttraffic.se>)
List pgsql-general
Hi Ulrich
 
Finally I resolve the problem.
 
Here is the solution:
DB server side:
===========
* DB encoding UNICODE
* DB client encoding UNICODE
 
JSP side:
=======
* <%@ page contentType="text/html;charset=UTF-8" language="java"%>
* <%@ page pageEncoding="ISO-8859-1"%>
* request.setCharacterEncoding("UTF-8");
* <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
Tomcat side: (server.xml file)
=========
<Connector port="8009" enableLookups="false" redirectPort="8443" debug="0"
    protocol="AJP/1.3" URIEncoding="UTF-8"/>
 
For those that use a property bunle file (key/value) you need to save this file in
ISO-8859-1. if you have unicode characters in it you have to convert the file with native2ascii tool.
 
Thanks to all,
Elie


Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.

pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: psql \o weirdness
Next
From: "Anony Mous"
Date:
Subject: location of postmaster.log on V8 Win 32