anchor.diff:    for DictIndex := 0 to HelpFile.DictionaryCount - 1 do
     begin
       DictWord := HelpFile.DictionaryWords[ DictIndex ];
  +    // apply encoding conversion
  +    DictWord := ConvertTextToUTF8(HelpFile.Encoding, DictWord);
       if StrEndsWithIgnoringCase( SearchWord, DictWord ) then
         Results^[ DictIndex ] := MatchedWordRelevance( SearchWord, DictWord );
     end;
  
positive.code:   for DictIndex := 0 to HelpFile.DictionaryCount - 1 do
    begin
      DictWord := HelpFile.DictionaryWords[ DictIndex ];
      Results^[ DictIndex ] := CompareWord( SearchWord, DictWord );
    end;
  end;
  
negative.code:   for DictIndex := 0 to HelpFile.DictionaryCount - 1 do
    begin
      DictWord := HelpFile.DictionaryWords[ DictIndex ];
      // apply encoding conversion
      DictWord := ConvertTextToUTF8(HelpFile.Encoding, DictWord);
      if SameText( SearchWord, DictWord ) then
        Results^[ DictIndex ] := mwExactWord;
    end;
  