- Posts: 1
COMMUNITY FORUM
International caracters?
- JoZ3
- Offline
- New Member
I´m using language spanish, ths solution that appear here not working because solve the charset problem in the module but change the charset in all content from the website, but i found a solution, i tested and working fine for me, only change this line in mod_jw_srfr.php:
$data = explode(':::::', $posting);
$data = explode(':::::', utf8_decode($posting));
Now Working!!!!!!!!!!!!!!!!
Try
Please Log in or Create an account to join the conversation.
- carly23420
- Offline
- New Member
- Posts: 9
Just a quick note to say, thanks! I'd been having problems with weird characters showing up and your .php addition fixed it.
Cheers!
Please Log in or Create an account to join the conversation.
- passarododo
- Offline
- New Member
- Posts: 1
My Rss are Ok.. but my menus, module titles and othes stuff are weird.. with strange caracteres :(.
I try the 2 hints gave before.. but it not working... :(
Please Log in or Create an account to join the conversation.
- schlogo
- Offline
- New Member
- Posts: 2
I still have the issue with international characters like é et è. I tried the hacks but it still not display correctly ??? Any advice?
Please Log in or Create an account to join the conversation.
- schlogo
- Offline
- New Member
- Posts: 2
Hello
I still have the issue with international characters like é et è. I tried the hacks but it still not display correctly ??? Any advice?
I actually works , The modification was not made correctly :D
Please Log in or Create an account to join the conversation.
- austantinua
- Offline
- New Member
- Posts: 1
$ data = explode (':::::', $ posting);
For this
$ data = explode ('::::: 'utf8_decode ($ posting));
I do not find this line of code in the mod_jw_srfr.php
Thank for help
Please Log in or Create an account to join the conversation.
- ODI
- Offline
- New Member
- Posts: 3
...but: I found it in the old Version of the Simple RSS Feed Reader. (Version 1.2)
But in the old Version there are missing some features so I didn't want to use it.
After some testing (I'm not very fit in PHP ;) ) I changed this line
in<?php echo $feed->get_title(); ?>
.<?php echo utf8_decode($feed->get_title()); ?>
It works for me. (German Umlauts etc... 8) )
.. In the same way, change it for $introtext, $fulltext ...
There was a problem with the timezone setting, too. I changed in simplepie.inc line 3090:
toreturn date($date_format, $this->data);
return gmdate($date_format, $this->data);
Now the Simple RSS Feed Reader shows the correct time for Germany at the moment. (We do have Summertime / wintertime ... I'm not sure if its interesting for you people...)
Thanks for this module. Now it works perfect for me! :)
Bye, ODI
Please Log in or Create an account to join the conversation.
- korocop
- Offline
- New Member
- Posts: 8
the "$feed->handle_content_type();" works for me, but it modifies charaters of other modules, even the Site title ???
any solution for that problem? my site is in Turkish language, but when i add this line for char. problem, the whole site is affected. what could i do?
Please Log in or Create an account to join the conversation.
- ODI
- Offline
- New Member
- Posts: 3
Have you tried my solution?
Forget the line "$feed->handle_content_type();". (Delete this line, if you added it before!)
Do the changes around the line: "<?php echo $feed->get_title(); ?>" and change this for example in "<?php echo utf8_decode($feed->get_title()); ?>" (This will help to let you show your "Title" in correct way - UTF8 decodet... )
Do the same with the other parts (introtext, fulltext ... etc), you use on your site!
Feedback is welcome! :)
Please Log in or Create an account to join the conversation.
- korocop
- Offline
- New Member
- Posts: 8
:(
Please Log in or Create an account to join the conversation.