From 6d64ce5a68b2b1dc2c776f41e1b459a8431701be Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Sun, 22 Jan 2017 04:47:26 +0000 Subject: [PATCH] Adjust to ObjFW changes FossilOrigin-Name: 959a1e56521bc39cf8b6332ab0694bcc0b388e3d374fb89ecd9b4177c5c4b07a --- src/exceptions/PGException.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exceptions/PGException.m b/src/exceptions/PGException.m index 59271f2..99fb2a4 100644 --- a/src/exceptions/PGException.m +++ b/src/exceptions/PGException.m @@ -16,7 +16,7 @@ _connection = [connection retain]; _error = [[OFString alloc] initWithCString: PQerrorMessage([_connection PG_connection]) - encoding: [OFSystemInfo native8BitEncoding]]; + encoding: [OFLocalization encoding]]; } @catch (id e) { [self release]; @throw e;