gibberish output when using the loadHTMLFile() function.

[email protected] (atar) Mon, 12 Aug 2013 00:54:36 -0000
Newsgroups php.general,php.general,php.general,php.i18n,php.i18n,php.i18n
Message-ID <op.w1oh5ay2e4gg2u@localhost>
Hi there!!

When I'm trying to load an external html document with the loadHTMLFile()  
function and then I use the saveHTML() function to output its content,  
some text in the external html document which is written in hebrew is  
displayed in a gibberish format. is anyone here has an idea how to solve  
this problem?

NOTE: the document itself is encoded in utf-8 character set.

Thanks in advance!!

atar.