TParadoxDataset: Activate InputEncoding property for writing.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9649 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
5095b475b2
commit
125e6e11ca
@ -225,7 +225,7 @@ type
|
||||
published
|
||||
property TableName: TFileName read FFileName write SetFileName;
|
||||
property TableLevel: String read GetVersion;
|
||||
property InputEncoding: String read FInputEncoding;
|
||||
property InputEncoding: String read FInputEncoding write FInputEncoding;
|
||||
property TargetEncoding: String read FTargetEncoding write SetTargetEncoding stored IsStoredTargetEncoding;
|
||||
property Active;
|
||||
property AutoCalcFields;
|
||||
@ -736,7 +736,8 @@ begin
|
||||
else begin
|
||||
FFieldInfoPtr := @FHeader^.FieldInfo;
|
||||
cp := FHeader^.DosCodePage;
|
||||
FInputEncoding := 'CP' + IntToStr(cp);
|
||||
if FInputEncoding = '' then
|
||||
FInputEncoding := 'CP' + IntToStr(cp);
|
||||
end;
|
||||
|
||||
if Encrypted then
|
||||
|
Loading…
Reference in New Issue
Block a user