mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 23:00:13 +02:00
* Possibility to specify character set in connection dialog
git-svn-id: trunk@13339 -
This commit is contained in:
parent
2379ea463b
commit
c7ca0f8b0f
@ -57,6 +57,7 @@ Const
|
||||
KeyUserName = 'User';
|
||||
KeyPassword = 'Password';
|
||||
KeyEncode = 'Trivial';
|
||||
KeyCharset = 'Charset';
|
||||
|
||||
implementation
|
||||
|
||||
@ -105,6 +106,7 @@ begin
|
||||
FConn.Password:=XorDecode(KeyEncode,L.Values[KeyPassword]);
|
||||
FConn.LoginPrompt:=False;
|
||||
FConn.Connected:=True;
|
||||
FConn.CharSet:=L.Values[KeyCharset];
|
||||
FConnected:=True;
|
||||
FConnectString:=AConnectString;
|
||||
Result:=True;
|
||||
|
Loading…
Reference in New Issue
Block a user