Fix a problem with iconv conversion on non-utf8 pages.