Keyword

International caracters?

More
18 years 2 weeks ago - 18 years 1 week ago #585 by Jonne
International caracters? was created by Jonne
How can I set this module up in order for it to view swedish caracters like å ä ö ...?

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

More
18 years 1 week ago #586 by 19657
Replied by 19657 on topic Re: International caracters?
Yes I need also this.
For Portuguese charset! çá

Thanks
Nuno

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

More
18 years 1 week ago #587 by 19657
Replied by 19657 on topic Solved -> Re: International caracters?
So, to repair this charset problem, and my reading told me that this mainly because charset is not defined when this script is running, you must specify something in your php code.

In this module there is the mod_jw_srfr.php file, and this will initialize a SimplePie object. "$feed = new SimplePie();" and just after this youi will write "$feed->handle_content_type();". This should make SimplePie object to behave as a UTF-8 character encoding.

It worked for me!


Cheers
Nuno

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

More
18 years 1 week ago #588 by Jonne
Replied by Jonne on topic Re: International caracters?
Didn´t do anything for me...  :(

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

More
18 years 1 week ago #589 by Jonne
Replied by Jonne on topic Re: International caracters?
OK. Problem solved!
Couldn´t choose RSS 2.0 as feed. Had to choose 1.0 and it now works like a charm. Even without "$feed->handle_content_type();".

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

More
18 years 1 week ago #590 by indy78
Replied by indy78 on topic Re: International caracters?
Hi,

i've got just one problem: how can i view this caracter: '. Use italian language

Thanks

Raffaele

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

More
18 years 1 week ago #591 by fqat
Replied by fqat on topic Re: International caracters?
the "$feed->handle_content_type();" works for me, but it modifies charaters of other modules, even the Site title  ???

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

More
17 years 11 months ago #592 by matyrojo666
Replied by matyrojo666 on topic Re: International caracters?

the "$feed->handle_content_type();" works for me, but it modifies charaters of other modules, even the Site title  ???


I have the same problem, if I add that line, RSS is fixed but all other modules are wrong. How to fix all of them? Can you help me?

Thanks!
Matias

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

More
17 years 11 months ago #593 by deltarium
Replied by deltarium on topic Re: International caracters?

the "$feed->handle_content_type();" works for me, but it modifies charaters of other modules, even the Site title  ???


I have the same problem, if I add that line, RSS is fixed but all other modules are wrong. How to fix all of them? Can you help me?


Same for me, using Spanish

Could someone help??

Thanks

kike
www.deltarium.com

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

More
17 years 11 months ago #594 by matyrojo666
Replied by matyrojo666 on topic Re: International caracters?
Same for me, using Spanish

Could someone help??
[/quote]

Nobody can help us? I can´t show RSS on my site because of UTF-8  :(

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

More
17 years 9 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
17 years 9 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
17 years 6 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
17 years 5 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
17 years 5 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
17 years 5 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
17 years 5 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
17 years 5 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
17 years 4 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
17 years 4 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