Implement TPGConnection.SetCharacterSet to get a persistent utf-8 setting. Closes issue #22.

This commit is contained in:
Ansgar Becker
2019-03-07 12:19:59 +01:00
parent 880fdb47ad
commit d6c35d9474

View File

@ -3346,7 +3346,8 @@ end;
procedure TPGConnection.SetCharacterSet(CharsetName: String);
begin
// Not in use. No charset stuff going on here?
// See issue #22
Query('SET CLIENT_ENCODING TO ' + EscapeString('UTF8'));
end;