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;