Tidy- char encoding problem

<[email protected]>
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <001001c77e95$87081830$0200a8c0@blackhat>
Hello
I've got small problem with char encoding in my application.
Now, my code is:

if not TidyGlobal.LoadTidyLibrary(ExtractFilePath(Application.Exename)+'data/lib/libtidy.dll') then
       begin
            Application.MessageBox('Biblioteka "TidyLib" nie jest dostępna!', 'Error', 16);
            exit;
        end else begin
        //ustawienia TIDY
          try
          Tidy := TLibTidy.Create(Self);             
          Tidy.Configuration.IndentContent := tsYes;
          Tidy.Configuration.IndentSpaces := 2;
          Tidy.Configuration.UpperCaseTags := False;
          Tidy.Configuration.WrapSection:=False;      
          Tidy.Configuration.QuoteMarks:=False;
          Tidy.Configuration.QuoteNbsp:=False;
          Tidy.Configuration.QuoteAmpersand:=False;
          Tidy.Configuration.Doctype:='-//W3C//DTD HTML 4.01 Transitional//EN';
          Tidy.Configuration.Mark:=No;                 
          Tidy.Configuration.AsciiChars:=false;       

          Tidy.AssignConfigToTidy;                     
          Tidy.LoadConfigFromTidy;

....

but when I want parse my text, output file has got an big5 encoding, even input text has got ISO enc.
How can I change it? How can I apply to tidy iso-8859-2 (latin2) encoding? Is tidy suport it?

Regards,
Artur Chudzik
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.