Upgraded to J1.08 lost Japanese UTF-8 Newsfeeds

krimebot
Joomla! Intern
Joomla! Intern
Posts: 80
Joined: Sun Feb 05, 2006 2:09 am

Upgraded to J1.08 lost Japanese UTF-8 Newsfeeds

Postby krimebot » Tue Mar 07, 2006 2:44 am

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  :'(

itochan
Joomla! Apprentice
Joomla! Apprentice
Posts: 25
Joined: Sat Sep 03, 2005 8:24 am
Location: Japan

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

Postby itochan » Tue Mar 07, 2006 3:41 pm

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行目は直ってないっぽい。
(誰か、確認して直してください…わからないので。)
Last edited by itochan on Tue Mar 07, 2006 3:44 pm, edited 1 time in total.
Joomla! sounds like 自由村!

Japan  日本 (JST=GMT+9)

krimebot
Joomla! Intern
Joomla! Intern
Posts: 80
Joined: Sun Feb 05, 2006 2:09 am

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

Postby krimebot » Wed Mar 08, 2006 1:14 am

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


Return to “Japanese Forum”

Who is online

Users browsing this forum: No registered users and 3 guests