I am not sure how many people here tried display some
language in RSS file other than English. In RSS file, I
declared <?xml version="1.0" encoding="Big5"?> as I used
Chinese (Big 5 encoding) in the context. I have item written
in Chinese like
<item>
<title>CHINESEWORD<title>
.....</item>

CHINESEWORD is the double-byte word and it's value equals A4
A4 in hex.

The generated page by RSSPortlet and transformed by XSL
resulted in <td>&curren;&curren;</td>. Problem comes when I
view the page with IE (5.5). It displays the two symbol
characters each representing the value A4 (&curren;), rather
than display one chinese word as I expected.

Netscape display correctly if the character set is set to
ISO-5591-1 but in error for Character set equals "Big5"...

I know it seems NOT a bug in RSSPortlet, just wanna to know
what is a correct way to handle different character set in
RSS (and XML).

Thanks in advance.

--
Regards,
William Leung




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to