Results 1 to 5 of 5

Thread: RSS Problem with special lang marks

  1. #1
    Join Date
    Sep 2005
    Location
    Poland - Warsaw
    Posts
    342

    Default RSS Problem with special lang marks

    Hi,

    I am testing new version of IU 5.1.0 andhave a problem with polish language - my test is available under www.top100gpt.com - I wanted to add Polish lang RSS news and there is no polish special marks - special charakters which are avauilable onkly in polish language.

    How can I set it up ? I used to modify header (iso-8859-2) but it seems that RSS reader changes it to another values.

    I have studied cache file and special polish marks are shown as below:

    <?xml version="1.0" encoding="iso-8859-2"?>
    <rss version="2.0">
    <channel>
    <link>http://wiadomosci.onet.pl/</link>
    <title>
    Onet.pl Wiadomości: Wiadomości dnia </title>
    <description>Wiadomości dnia</description>
    <copyright>Copyright &amp;amp;copy;1996-2004 Onet.pl S.A.</copyright>
    <generator>Onet.pl S.A.</generator>
    <image>
    <title>Onet.pl Wiadomości - Wiadomości dnia</title>
    The word in this example is shown as Wiadomo & # 3 4 7 ; ci [I have addeed spaces to show you the letters and numbers in CACHE FILE. In this post words are shown correctly - but not on index page.

    source of rss is here: http://wiadomosci.onet.pl/10,kategoria.rss

    so anyone know how to make these letters correctly shown on my page ?

  2. #2
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    Have you used the meta tag
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
    in header.html?

  3. #3
    Join Date
    Sep 2005
    Location
    Poland - Warsaw
    Posts
    342

    Default

    yes - I have changed it to my ISO system in header.html - no luck.

    May be the problem is in writting cache file into /cache/ directory ?
    Last edited by linksor.com; 04-10-2006 at 07:47 AM.

  4. #4
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    Change /lib/rss.php-nya, about line 86 :

    From :
    xml_parse($this->parser, $this->rsscontent);
    xml_parser_free($this->parser);
    To :
    $this->rsscontent = str_replace('&', '&amp;', $this->rsscontent);
    xml_parse($this->parser, $this->rsscontent);
    xml_parser_free($this->parser);

  5. #5
    Join Date
    Sep 2005
    Location
    Poland - Warsaw
    Posts
    342

    Default

    WORKING !

    Great thanx

Similar Threads

  1. Special letter problem in other languages
    By Frank71 in forum Help Wanted/Job Request
    Replies: 13
    Last Post: 10-03-2006, 06:52 AM
  2. Special Character problem
    By chm3 in forum v5.x
    Replies: 3
    Last Post: 03-13-2006, 03:17 AM
  3. Special Characters
    By hobartimus in forum v5.x
    Replies: 9
    Last Post: 02-28-2005, 02:41 AM
  4. Replies: 0
    Last Post: 02-06-2005, 10:40 AM
  5. Get rid of quotation marks
    By Phil Latio in forum v5.x
    Replies: 2
    Last Post: 02-14-2003, 08:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •