diff --git a/src/exceptions/PGException.m b/src/exceptions/PGException.m index 49a0008..95ad0f2 100644 --- a/src/exceptions/PGException.m +++ b/src/exceptions/PGException.m @@ -40,7 +40,7 @@ _connection = [connection retain]; _error = [[OFString alloc] initWithCString: PQerrorMessage([_connection PG_connection]) - encoding: [OFLocalization encoding]]; + encoding: [OFLocale encoding]]; } @catch (id e) { [self release]; @throw e;