Skip to content
Permalink
Browse files

Implement TPGConnection.SetCharacterSet to get a persistent utf-8 set…

…ting. Closes issue #22.
  • Loading branch information...
ansgarbecker committed Mar 7, 2019
1 parent 880fdb4 commit d6c35d947456d2bfa8e7d5815d5d32f08b2f02e1
Showing with 2 additions and 1 deletion.
  1. +2 −1 source/dbconnection.pas
@@ -3346,7 +3346,8 @@ procedure TAdoDBConnection.SetCharacterSet(CharsetName: String);

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;


0 comments on commit d6c35d9

Please sign in to comment.
You can’t perform that action at this time.