mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-06 23:30:30 +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';
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user