Re: [GENERAL] UNICODE and UTF-8

2006-11-04 Thread AgentM
On Nov 4, 2006, at 11:34 , Martijn van Oosterhout wrote: On Sat, Nov 04, 2006 at 04:23:02PM +0100, Alain Roger wrote: however, when i do this, my encoding is in UTF-8 via phpAdmin. UTF8 is a part of UNICODE, but as i'm not sure on how many bits is UNICODE, how can i setup my local DB to UNI

Re: [GENERAL] UNICODE and UTF-8

2006-11-04 Thread Alain Roger
Yes, my provider has v8.0.1 and i have installed v8.1.4.thanks for your confirmation.Al.On 11/4/06, Martijn van Oosterhout < kleptog@svana.org> wrote:On Sat, Nov 04, 2006 at 04:23:02PM +0100, Alain Roger wrote: > however, when i do this, my encoding is in UTF-8 via phpAdmin.> UTF8 is a part of UNIC

Re: [GENERAL] UNICODE and UTF-8

2006-11-04 Thread Martijn van Oosterhout
On Sat, Nov 04, 2006 at 04:23:02PM +0100, Alain Roger wrote: > however, when i do this, my encoding is in UTF-8 via phpAdmin. > UTF8 is a part of UNICODE, but as i'm not sure on how many bits is UNICODE, > how can i setup my local DB to UNICODE value as my provider has ? As far a postgres is conce

Re: [GENERAL] unicode and =

2005-06-20 Thread Grant Morgan
I am not sure what locale I was running as I had not set it when doing initdb. I created a new DB with --locale=en_US.utf8 -E UNICODE and imported my data from original source (not copied from old DB) and still have the smae problem that UNICODE strings with double byte characters that are not e

Re: [GENERAL] unicode and =

2005-06-19 Thread Tom Lane
"Grant Morgan" <[EMAIL PROTECTED]> writes: > = is not working on a char(30) coloumn for me. > I want to find rows with equal name. > I have my database set to unicode. I'll bet you are running the postmaster in a locale that isn't expecting utf-8 encoding. The locale and encoding have to match or

Re: [GENERAL] Unicode and unaccent()

2005-05-06 Thread Mark Borins
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Eisentraut Sent: May 6, 2005 2:12 AM To: Mark Borins Cc: pgsql-general@postgresql.org Subject: Re: [GENERAL] Unicode and unaccent() Mark Borins wrote: > My problem is that the values like \342 are for LATIN1 type encodi

Re: [GENERAL] Unicode and unaccent()

2005-05-06 Thread Daniel Verite
Mark Borins wrote: > The encoding on my DB is Unicode, so far I have found an unaccent() function > by looking in the mail archives it looks like the following: > > > CREATE FUNCTION unaccent(text) RETURNS text AS $$ >BEGIN >RETURN translate($1, '\342\347\350\351\352\364\373'

Re: [GENERAL] Unicode and unaccent()

2005-05-05 Thread Peter Eisentraut
Mark Borins wrote: > My problem is that the values like \342 are for LATIN1 type encoding. > I have tried and failed to get this working using the what I think > is the Unicode escaping method \u0032 for example. There is no Unicode escaping method. You need to encode the characters into UTF-8

Re: [GENERAL] unicode and varchar

2004-09-11 Thread Ian Barwick
On Fri, 10 Sep 2004 14:57:18 +0200, Michael Wimmer <[EMAIL PROTECTED]> wrote: (...) > Is there a way to make this work in 7.4.x too? > May problem is that we are in a rush to do a port of our application > from informix and I will not be able to wait until 8.0 will be released. What encoding does

Re: [GENERAL] unicode and sorting(at least)

2004-06-24 Thread Dennis Gearon
All of the ISO 8xxx encodings and LATINX encodings can handle two langauges, English and at least one other. Sometimes they can handle several langauges besides English, and are actually designed to handle a family of langauges. The ONLY encodings that can handle a significant amount of multiple

Re: [GENERAL] unicode and sorting(at least)

2004-06-24 Thread Tatsuo Ishii
> On Wed, 23 Jun 2004, Dennis Gearon wrote: > > > This is what has to be eventually done:(as sybase, and probably others do it) > > > > http://www.ianywhere.com/whitepapers/unicode.html > > Actually, what probably has to be eventually done is what's in the SQL > spec. > > Which is AFAICS bas

Re: [GENERAL] unicode and sorting(at least)

2004-06-24 Thread Stephan Szabo
On Wed, 23 Jun 2004, Dennis Gearon wrote: > This is what has to be eventually done:(as sybase, and probably others do it) > > http://www.ianywhere.com/whitepapers/unicode.html Actually, what probably has to be eventually done is what's in the SQL spec. Which is AFAICS basically: Allow mu