XmlParse error: not well-formed (invalid token) at line 1
- You cannot open a new topic into this forum
- Guests cannot post into this forum
msg# 1
i have setup XHLD in my website.
this is really cool module for RSS.
I can setup it for using with yahoo or ign RSS that base on english language.
when i setup the another XHLD(1) with the RSS with my local langauge(Thai) it show me that:
Failed saving data to database for headline RSS Thai
XmlParse error: not well-formed (invalid token) at line 1
Chould anyone help me about solving this ploblem?
Thank you for yours kindness.
Votes:28
Average:6.43
msg# 1.1
You have to prepare two filters
Thai encoding -> UTF-8
UTF-8 -> Thai encoding
make language/(thai)/headlinerenderer.php
refering russian as a sample.
Votes:2
Average:10.00
msg# 1.1.1
To GIJOE .
Thank a lot for your replying me.
I'm already try it before, but it doesn't work for me. T^T
When i change the code the module can detect on my local system windows-874(thai) but the RSS still not showing on the webpage.
When i try to config the module and submit it's show me a blank screen then i refresh the page the page show me that i need to click on retry when i click it the page show me Invalid Session and still show me the blank page. ^^"
Do anyone have any suggestion
thank alot for your kindness.
Votes:11
Average:8.18
msg# 1.1.1.1
Check your system has iconv or mbstring, first.
It is not so difficult create such two converters.
Votes:2
Average:5.00
msg# 1.2
Mikhail
From: Rio de Janeiro, Brasil
Posts: 15
hum..............
sounds like problem with the utf-8 bom.... try to remove the BOM with a hexa editor... :-/
Quote:
Q: What is a BOM? A: A byte order mark (BOM) consists of the character code U+FEFF at the beginning of a data stream, where it can be used as a signature defining the byte order and encoding form, primarily of unmarked plaintext files. Under some higher level protocols, use of a BOM may be mandatory (or prohibited) in the Unicode data stream defined in that protocol.
from
http://unicode.org/faq/utf_bom.html#BOM--------------------
in another words: try to remove the hidden code [b]ï»
Votes:11
Average:9.09