Page 1 of 1

Upgraded to J1.08 lost Japanese UTF-8 Newsfeeds

Posted: Tue Mar 07, 2006 2:44 am
by krimebot
I am running a bilingual Japanese UTF-8/English UTF-8 site using mamblefish, and I have some RSS newsfeeds comming from asahi shimbun, and a few other Japanese papers.

I used to be able to properly display Japanese UTF-8 New feeds, but since upgraded to J1.08 I can not.  :'( I only get mojibake (trash characters).

The very confusing part is... when I display my page in English (click the english language tab from the mamblefish module) I can see Japanese UTF-8 without Mojibake.

In short. I am using the Japanese UTF-8 Language pack, my encoding is set to UTF-8, but UTF-8 newsfeeds display Japanese characters as mojibake. When I am I am using the English UTF-8 Language pack, my encoding also set to UTF-8. I can display these newsfeeds with Japanese characters  ???

Thanks for any help you can give  :'(

Re: Upgraded to J1.08 lost Japanese UTF-8 Newsfeeds

Posted: Tue Mar 07, 2006 3:41 pm
by itochan
can you check   /includes/feedcreator.class.php

line 519

Code: Select all

	/**
	 * This feed's character encoding.
	 * @since 1.6.1
	 **/
	var $encoding = "ISO-8859-1";
line 1190

Code: Select all

	function MBOXCreator() {
		$this->contentType = "text/plain";
		$this->encoding = "ISO-8859-15";
	}
can we change both lines to "utf-8" ?


1.0.8日本版パッチだと、519行目は直ってて、1190行目は直ってないっぽい。
(誰か、確認して直してください…わからないので。)

Re: Upgraded to J1.08 lost Japanese UTF-8 Newsfeeds

Posted: Wed Mar 08, 2006 1:14 am
by krimebot
I did try this but it didn't really change anything for me.

Sorry for asking this, but is the feedcreator.class.php used to create newsfeeds?

Actually I am having problems both creating and displaying Japanese newfeeds

Here is my site (my newsfeeds are off the home page)
http://www.hi-marks.com

Here is a sample of the newsfeeds from Japanese newspapers.

http://www.hi-marks.com/index.php?optio ... &Itemid=75


Thanks for your help