* Possibility to specify character set in connection dialog

git-svn-id: trunk@13339 -
This commit is contained in:
michael 2009-06-27 14:03:32 +00:00
parent 2379ea463b
commit c7ca0f8b0f

View File

@ -57,6 +57,7 @@ Const
KeyUserName = 'User'; KeyUserName = 'User';
KeyPassword = 'Password'; KeyPassword = 'Password';
KeyEncode = 'Trivial'; KeyEncode = 'Trivial';
KeyCharset = 'Charset';
implementation implementation
@ -105,6 +106,7 @@ begin
FConn.Password:=XorDecode(KeyEncode,L.Values[KeyPassword]); FConn.Password:=XorDecode(KeyEncode,L.Values[KeyPassword]);
FConn.LoginPrompt:=False; FConn.LoginPrompt:=False;
FConn.Connected:=True; FConn.Connected:=True;
FConn.CharSet:=L.Values[KeyCharset];
FConnected:=True; FConnected:=True;
FConnectString:=AConnectString; FConnectString:=AConnectString;
Result:=True; Result:=True;