Re: Hebrew support -- please help !

From: Elie Nacache <elie_nacache(at)yahoo(dot)com>
To: Ulrich Wisser <ulrich(dot)wisser(at)relevanttraffic(dot)se>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Hebrew support -- please help !
Date: 2004-09-02 14:31:18
Message-ID: 20040902143118.42198.qmail@web54107.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Martini 2004-09-02 14:33:41 Re: The future of built-in geometric data types
Previous Message Tom Lane 2004-09-02 14:26:42 Re: C Function causes backend to die in 7.4.3