LCL: removed broken override for specifying the SystemEncoding

git-svn-id: trunk@15197 -
This commit is contained in:
vincents 2008-05-21 13:30:05 +00:00
parent f94b387c2c
commit 4164fa92e0

View File

@ -108,7 +108,6 @@ end;
function GetSystemEncoding: string;
var Lang: string;
i: integer;
s: string;
begin
if EncodingValid then begin
Result:=SystemEncoding;
@ -134,13 +133,6 @@ begin
if (i>0) and (i<=length(Lang)) then
Result:=copy(Lang,i+1,length(Lang)-i);
// check parameters
for i:=1 to ParamCount do
begin
s:=ParamStr(i);
if s='--charset=' then Result:=copy(s,pos(#61,s),length(s));
end;
Result:=NormalizeEncoding(Result);
SystemEncoding:=Result;