Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: Bug in UTF8-Validation Code? - Mailing list pgsql-hackers

From Mark Dilger
Subject Re: Bug in UTF8-Validation Code?
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: Bug in UTF8-Validation Code?  (Mark Dilger <[email protected]>)
List pgsql-hackers
Mark Dilger wrote:

> Since chr() is defined in oracle_compat.c, I decided to look at what 
> Oracle might do.  See 
> http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/functions18a.htm 
> 
> 
> It looks to me like they are doing the same thing that I did, though I 
> don't have Oracle installed anywhere to verify that.  Is there a 
> difference?

Reading that page again, I think I'd have to use mbrtowc() or similar in the 
spot where I'm currently just using the literal utf8 string.


pgsql-hackers by date:

Previous
From: Gavin Sherry
Date:
Subject: Re: Many unfinished patches
Next
From: Bruce Momjian
Date:
Subject: Re: Arrays of Complex Types