757 |
|
begin |
758 |
|
Result := false; |
759 |
|
for i := Low(CharSetMap) to High(CharSetMap) do |
760 |
< |
if AnsiCompareStr(CharSetMap[i].CharSetName, CharSetName) = 0 then |
760 |
> |
if AnsiCompareText(CharSetMap[i].CharSetName, CharSetName) = 0 then |
761 |
|
begin |
762 |
|
CharSetID := CharSetMap[i].CharSetID; |
763 |
|
Result := true; |
765 |
|
end; |
766 |
|
|
767 |
|
for i := 0 to Length(FUserCharSetMap) - 1 do |
768 |
< |
if AnsiCompareStr(FUserCharSetMap[i].CharSetName, CharSetName) = 0 then |
768 |
> |
if AnsiCompareText(FUserCharSetMap[i].CharSetName, CharSetName) = 0 then |
769 |
|
begin |
770 |
|
CharSetID := FUserCharSetMap[i].CharSetID; |
771 |
|
Result := true; |