Re: [Solved] Re: Storing UTF8 Umlauts in Postgres using PGSQLKit

2012-03-22 Thread Alexander Reichstadt
Hi, sorry to hear that, but great to meet you here!! Let's catch up off list. Alex Am 22.03.2012 um 14:20 schrieb Andy 'Dru' Satori: > Sorry I didn't see this, I was KO'd by the pollen and seasonal allergies. > Yes this is an issue with PGSQLkit, I have confirmed it and will be > committi

Re: [Solved] Re: Storing UTF8 Umlauts in Postgres using PGSQLKit

2012-03-22 Thread Andy 'Dru' Satori
Sorry I didn't see this, I was KO'd by the pollen and seasonal allergies. Yes this is an issue with PGSQLkit, I have confirmed it and will be committing a change today based upon yours to address this. Thanks for patch! -- Andy 'Dru' Satori On Thursday, March 22, 2012 at 6:55 AM, Alexande

[Solved] Re: Storing UTF8 Umlauts in Postgres using PGSQLKit

2012-03-22 Thread Alexander Reichstadt
The issue was in PGSQLKit. -(NSString *)sqlEncodeString:(NSString *)toEncode { //size_t result; int error; char *sqlEncodeCharArray = malloc(1 + ([toEncode length] * 2)); // per the libpq doc. const char *sqlCharArrayToEncode = [toEncode cStringUsingEncoding: