Re: Bug in UTF8-Validation Code?
Mark Dilger <pgsql@markdilger.com>
From: Mark Dilger <pgsql@markdilger.com>
To: Mark Dilger <pgsql@markdilger.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-04-02T23:11:57Z
Lists: 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.