[xml] Wrong encoding selection when parsing html

2009-04-17 Thread klabautermack
Hi, i searched through the archive for encoding related threads and found this: Hello, I'm using htmlParseDoc to build a tree for an ISO-8859-7 (Greek) html file. In most case I didn't have a problem but in other cases I discovered that when I try to later save the tree to

[xml] Wrong encoding selection when parsing html

2007-04-08 Thread Liron
Hello, I'm using htmlParseDoc to build a tree for an ISO-8859-7 (Greek) html file. In most case I didn't have a problem but in other cases I discovered that when I try to later save the tree to file or memory it's not being dumped fully or in the right encoding. I tried to track down the problem