Closed GoogleCodeExporter closed 9 years ago
i don't know how this problem relates to mod_gcalendar_upcoming?? because it
doesn't
change any language settings or something in this direction.... do you know
what it is??
Original comment by allon.mo...@gmail.com
on 21 Dec 2008 at 11:45
Could this be because the stream itself does so?
I've been poking around in the module code, and there is a
RSSRequestObject.overrideMimeType('text/xml') - could this be the culprit?
/Hz
Original comment by dieter.a...@gmail.com
on 21 Dec 2008 at 12:02
If I click on one of the event entries to display the event, the problem doesn't
exist on the event display page. So, definitely, it has to do with the module
or the
RSS feed.
/Hz
Original comment by dieter.a...@gmail.com
on 21 Dec 2008 at 12:04
Maybe this is a SimplePie problem? In mod_gcalendar_upcoming.php your comment
is:
// Include SimplePie RSS Parser, supports utf-8 and international character
sets in
newsfeeds
- does this mean utf-8 or does it mean utf-8 AS WELL AS e.g. iso-8859-1?
If you browse through simplepie.inc, there are a lot of references to UTF-8,
which is
apparently always used internally in simplepie.inc. 3/4 through simplepie.inc
there
is this statement:
function utf8_bad_replace($str)
...
Could it be that because of the
"include_once('mod_gcalendar_upcoming/simplepie.inc')
that this actually sideeffects the whole site? This would certainly be
consistent
with the observations. If so, mod_gcalendar_upcoming.php should de-register the
class when done.
If above is true, then I'll bet you 1:100 that your own site runs UTF-8, and,
hence,
you have never encountered the problem... :-)
/Hz
Original comment by dieter.a...@gmail.com
on 21 Dec 2008 at 10:55
Similar problem reported here:
http://joomla.daveslist.co.nz/forum/viewtopic.php?f=2&t=42
/Hz
Original comment by dieter.a...@gmail.com
on 21 Dec 2008 at 11:07
it looks like that there is something wrong with simplepie..... and a
configuration
Original comment by allon.mo...@gmail.com
on 22 Dec 2008 at 9:44
i think it is this call which makes errors in the helper class
$feed->handle_content_type();
Original comment by allon.mo...@gmail.com
on 23 Dec 2008 at 7:04
[deleted comment]
try to add in the file
modules/mod_gcalendar_upcoming/mod_gcalendar_upcoming.php at
line 61
$feed->set_output_encoding('ISO8859-1');
does it help??
Original comment by allon.mo...@gmail.com
on 30 Dec 2008 at 9:02
This was exactly what was needed!
For a more permanent solution, maybe mod_gcalendar_upcoming.php can get the site
encoding automatically from the config file?
Thanks for this - much appreciated!
/Hz
Original comment by dieter.a...@gmail.com
on 30 Dec 2008 at 11:38
it is the _ISO variable
does this work as well??
$feed->set_output_encoding(_ISO);
Original comment by allon.mo...@gmail.com
on 2 Jan 2009 at 6:09
The suggestion does not work - the module writes the heading, but the content
becomes
empty, i.e., the feed data does not show.
In the config.php file, it is the $mosConfig_locale setting.
/Hz
Original comment by dieter.a...@gmail.com
on 2 Jan 2009 at 10:00
comes in 2.0.1 bug fix release
Original comment by allon.mo...@gmail.com
on 26 Jan 2009 at 3:51
does this really work????? when i test it it breaks my whole output.....
Original comment by allon.mo...@gmail.com
on 27 Jan 2009 at 1:53
Ehm - does what work?
My suggestion was for the module to fetch the locale setting from the
config.php file
instead of manually overwriting the
modules/mod_gcalendar_upcoming/mod_gcalendar_upcoming.php at line 61 with
[$feed->set_output_encoding('ISO8859-1');] - or a quickie might be to have the
locale
set through the admin interface.
/Hz
Original comment by dieter.a...@gmail.com
on 28 Jan 2009 at 12:59
$feed->set_output_encoding($mosConfig_locale); was not working... it was
strange what
happened. i will do some more research about that.
Original comment by allon.mo...@gmail.com
on 28 Jan 2009 at 2:26
Original comment by allon.mo...@gmail.com
on 28 Jan 2009 at 2:30
After inserting the following
$feed->set_output_encoding('ISO8859-1');
on line 55 in mod_gcalendar_upcoming.php
my german umlauts are shown correct.
Joomla 1.0.15,
gcalender 2.0.1
dd
Original comment by drdingsb...@googlemail.com
on 11 Feb 2009 at 12:24
and does this work
$feed->set_output_encoding($mosConfig_locale);
??
Original comment by allon.mo...@gmail.com
on 12 Feb 2009 at 12:02
Issue 119 has been merged into this issue.
Original comment by allon.mo...@gmail.com
on 12 Mar 2009 at 11:42
I just tried $feed->set_output_encoding('ISO8859-1'); on my site and it
functions
correct.
Using $feed->set_output_encoding($mosConfig_locale);
does not at all give the correct result, it makes the characters inside the upcoming
events worng also.
So, I stick to 'ISO8859-1' on line 61!
Original comment by kalen...@flsk.dk
on 12 Mar 2009 at 3:35
we are talking just about the upcoming
Original comment by allon.mo...@gmail.com
on 19 Mar 2009 at 9:25
i close this issue. i don't take action anymore on issues affecting joomla
1.0.x web
sites and will not produce any more releases for joomla 1.0.x, there is a
workaround
described here so everybody with joomla 1.0.x can fix it by himself
Original comment by allon.mo...@gmail.com
on 19 Mar 2009 at 9:28
Original issue reported on code.google.com by
dieter.a...@gmail.com
on 21 Dec 2008 at 11:36