Re: unaccent extension missing some accents
J Smith <dark.panda+lists@gmail.com>
From: J Smith <dark.panda+lists@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Florian Pflug <fgp@phlo.org>, pgsql-hackers@postgresql.org
Date: 2011-11-07T05:52:42Z
Lists: pgsql-hackers
Attachments
- 0001-Fix-weirdness-when-dealing-with-UTF-8-in-buggy-libc-.patch (application/octet-stream) patch 0001
Alright, I wrote up another patch that uses strchr to parse out the lines of the unaccent.rules file, foregoing sscanf completely. Hopefully this looks a bit better than using swscanf. As for the other problems with isspace and such on OSX, it might be worth looking at the python portability fixes. I played briefly with the isspace and friends macros they have and they looked okay, but I certainly can't speak for how well they'd work for the rest of the PostgreSQL code base. Cheers.