1
Cute123
xoops-2.0.6RC-Headline Cann't Display Language Tchinese(中文)
  • 2004/1/30 17:46

  • Cute123

  • Just popping in

  • Posts: 3

  • Since: 2004/1/27


1.The backend.php Line 34
※header ('Content-Type:text/xml; charset=utf-8');
erro
無法顯示 XML 網頁
無法使用 XSL 樣式表檢視 XML 輸入。請更正錯誤,然後按 重新整理按鈕,或者稍後再試一次。


--------------------------------------------------------------------------------

文字內容包含無效的字元。處理資源 'http://127.0.0.1/xoops/backend.php' 發生錯誤。第 7 行, 位置 46

<lastBuildDate>Sat, 31 Jan 2004 01:42:15

Modify※header ('Content-Type:text/xml; charset=big5');
It is can display..
But at the ../xoopsheadline/index.php is can not display the information. And the MySQL table-xoops_xoopsheadline
have the xml code:
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>123</title>
<link>http://127.0.0.1/xoops/</link>
<description>123</description>
<lastBuildDate>Sat, 31 Jan 2004 01:42:15 台北標準時間</lastBuildDate>
<docs>http://backend.userland.com/rss/</docs>
<generator>XOOPS 2.0.4 繁體中文版 release 20030922</generator>
<category>News</category>
<managingEditor>kaezjp@yahoo.co.jp</managingEditor>
<webMaster>kaezjp@yahoo.co.jp</webMaster>
<language>tw</language>
<image>
<title>chapi.de</title>
<url>http://127.0.0.1/xoops/images/logo.gif</url>
<link>http://127.0.0.1/xoops/</link>
<width>144</width>
<height>80</height>
</image>
<item>
<title>第三則</title>
<link>http://127.0.0.1/xoops/modules/news/article.php?storyid=3</link>
<description>第三則</description>
<pubDate>Fri, 30 Jan 2004 00:43:31 台北標準時間</pubDate>
<guid>http://127.0.0.1/xoops/modules/news/article.php?storyid=3</guid>
</item>
<item>
<title>123的第一則新聞</title>
<link>http://127.0.0.1/xoops/modules/news/article.php?storyid=1</link>
<description>第一則新聞喔</description>
<pubDate>Fri, 30 Jan 2004 00:38:00 台北標準時間</pubDate>
<guid>http://127.0.0.1/xoops/modules/news/article.php?storyid=1</guid>
</item>
</channel>
</rss>
I can not fix it!

2
onokazu
Re: xoops-2.0.6RC-Headline Cann't Display Language Tchinese(中文)
  • 2004/2/6 15:00

  • onokazu

  • XOOPS Founder

  • Posts: 617

  • Since: 2001/12/13


You may need the PHP mbstring module for your server to convert big5 characters to UTF8.

3
Cute123
Re: xoops-2.0.6RC-Headline Cann't Display Language Tchinese(中文)
  • 2004/2/9 3:10

  • Cute123

  • Just popping in

  • Posts: 3

  • Since: 2004/1/27


Thanks!

4
wjue
Re: xoops-2.0.6RC-Headline Cann't Display Language Tchinese(中文)
  • 2004/2/9 16:42

  • wjue

  • Quite a regular

  • Posts: 315

  • Since: 2002/8/3 7


You may download this hack published some time ago

https://xoops.org/modules/mydownloads/singlefile.php?cid=28&lid=433

wjue


Login

Who's Online

177 user(s) are online (114 user(s) are browsing Support Forums)


Members: 0


Guests: 177


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits