[xml] encoding question..



Hi,

i do

$ ./testHTML.exe --encode ISO-8859-7 htmlSites/index.html
htmlSites/index.html:12: error: Input is not proper UTF-8, indicate encoding
!


what the testHTML.exe do is :

htmlParseFile(filename, NULL)                   //with no encoding(NULL)
htmlSaveFileEnc("-", doc, encoding)             //in this point it uses the enconding
variable(argv[i])

the index.html is the greek version of www.google.com.gr with
encoding-type:ISO-8859-7

what am i have to do to parse the html document normally?

Thanks in advance!

Manos Moschous




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]