Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 07:50 pm EDT

Geeklog Forums

Portal Block Corrupted UTF-8 Characters


Status: offline

woop

Forum User
Newbie
Registered: 06/02/05
Posts: 10
Location:Hong Kong
I have a portal block set up to get rss feed from Google News. The block works fine for UTF-8 English News but for UTF-8 Chinese, the characters are all corrupted. My site runs on UTF-8 and Chinese content on other blocks and stories are ok.

Appreciate someone could point me a link.

Many thks.
 Quote

Status: offline

woop

Forum User
Newbie
Registered: 06/02/05
Posts: 10
Location:Hong Kong
Have done a change at lib-common.php:

Text Formatted Code

3319c3353
<                      . $feed->articles[$i]['title'] . '</a>';
---
>             . utf8_decode($feed->articles[$i]['title']) . '</a>';

 


to solve my problem...
 Quote

All times are EDT. The time is now 07:50 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content