Keyword

International caracters?

More
16 years 10 months ago #595 by JoZ3
Replied by JoZ3 on topic Re: International caracters?
First Thanks for this wonderfull module, is very cool.
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);
for this
$data = explode(':::::', utf8_decode($posting));
.

Now Working!!!!!!!!!!!!!!!!

Try

Please Log in or Create an account to join the conversation.

More
16 years 10 months ago #596 by carly23420
Replied by carly23420 on topic Re: International caracters?
19657,

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.

More
16 years 8 months ago #597 by passarododo
Replied by passarododo on topic Re: International caracters?
It dont work to me :(

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.

More
16 years 7 months ago #598 by schlogo
Replied by schlogo on topic Re: International caracters?
Hello

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.

More
16 years 7 months ago #599 by schlogo
Replied by schlogo on topic Re: International caracters?

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.

More
16 years 6 months ago #600 by austantinua
Replied by austantinua on topic Re: International caracters?
excusme,but forgiveness that line of mod_jw_srfr.php this code to be replaced
$ 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.

More
16 years 6 months ago #601 by ODI
Replied by ODI on topic Re: International caracters?
I didn't find these lines of code in mod_jw_srfr.php...

...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

<?php echo $feed->get_title(); ?>

in

<?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:

return date($date_format, $this->data);

to

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.

More
16 years 6 months ago #602 by korocop
Replied by korocop on topic Re: International caracters?

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.

More
16 years 6 months ago #603 by ODI
Replied by ODI on topic Re: International caracters?
Hi Korocop!

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.

More
16 years 6 months ago #604 by korocop
Replied by korocop on topic Re: International caracters?
yes i tried yours, but when i do your solution, i cannot take the headers of the news, the header is only "the site name(for me it is: NTVMSNBC)"
:(

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum