sitemap  |  contact

Sakic.Net Forum
07 October 2008, 08:53 *
Welcome, Guest. Please login or register.
Did you miss your activation email?
Login with username, password and session length
News: Save money on product bundles: http://www.sakic.net/support/order/
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Problem with accented characters  (Read 1730 times)
Arnaud
Newbie
*
Posts: 43


View Profile
« on: 10 February 2008, 16:04 »

Hi,

I have a problem with accented characters with "latest articles" plugin. They're all replaced by a symbol. Even if I build my own XML file with a forced charset (ISO-8859-1 or UTF-8).

Could you help me in correcting this issue, please ?

Thank you for your help Wink

Arnaud

PS : my template is set with ISo 8859
Logged
Saka
Administrator
Hero Member
*****
Posts: 1,231


View Profile WWW
« Reply #1 on: 10 February 2008, 18:47 »

AJAX only supports UTF-8 so there could be problems if you have different encoding on your site.
Logged

Arnaud
Newbie
*
Posts: 43


View Profile
« Reply #2 on: 11 February 2008, 10:00 »

When i force the template in UTF-8 i still have the problem.

And all of your plugins are defined with ISO-8859-1 encoding option...

I've been searching an answer for this problem. To use iso-8859-1 encoding format, we need to force it in mod_ajaxlisting.php with :

Code:
header("Content-Type:text/plain; charset=iso-8859-1");

As this file is encrypted, i cannot try this modification...
Logged
Arnaud
Newbie
*
Posts: 43


View Profile
« Reply #3 on: 12 February 2008, 09:33 »

Hi Saka,

I've totally rebuild from scrach a new website with this configuration :
- database charset set to UTF-8 by default
- joomla 1.013 french edition with charset defined with UTF-8
- default joomla template and only your Ajax Listing module installed.

Conclusion : i still have accents problems ! Look at the screen attached

Could you provide a fix to this issue, please ?

thx

Arnaud
Logged
Saka
Administrator
Hero Member
*****
Posts: 1,231


View Profile WWW
« Reply #4 on: 12 February 2008, 13:44 »

Can you send me a mail with access info to your site and I will do my tests.
Logged

Arnaud
Newbie
*
Posts: 43


View Profile
« Reply #5 on: 18 February 2008, 15:00 »

Saka,

I've sent you all information by email. 8 days later, I'm still waiting for your support !

Could you please do the necessary to solve this problem. I can't wait anymore.

Thank you.

Arnaud
Logged
Arnaud
Newbie
*
Posts: 43


View Profile
« Reply #6 on: 25 February 2008, 09:43 »

Saka,

What's going wrong with you ? You sell products and you don't assume support ?? Wake up man !
Logged
Arnaud
Newbie
*
Posts: 43


View Profile
« Reply #7 on: 09 March 2008, 13:31 »

Emir,

The problem with accented chars make IE not loading the plugin (XML and PHP version).

No problem with Firefox 2 and Opera 9.26 (Windows version). Not tested with Conqueror...
Logged
Arnaud
Newbie
*
Posts: 43


View Profile
« Reply #8 on: 09 March 2008, 14:49 »

SOLVED !!!!  Grin Grin Grin Grin

I've found how to fix the accented chars issue (in a PHP plugin) :

Just replace :
Code:
return $content;

by :
Code:
return mb_convert_encoding($content, "UTF-8", "ISO-8859-1");

Enjoy  Cool
Logged
Saka
Administrator
Hero Member
*****
Posts: 1,231


View Profile WWW
« Reply #9 on: 10 March 2008, 03:08 »

That's great, saves me a lot of testing.

Thanks!
Logged

Arnaud
Newbie
*
Posts: 43


View Profile
« Reply #10 on: 10 March 2008, 12:47 »

You're welcome Emir Cheesy

Now you can work hardly on multiple Ajax Listing instance  Grin Grin  Kiss
Logged
Saka
Administrator
Hero Member
*****
Posts: 1,231


View Profile WWW
« Reply #11 on: 10 March 2008, 15:00 »

Yeah, I have an idea how to solve that. Smiley
Logged

Arnaud
Newbie
*
Posts: 43


View Profile
« Reply #12 on: 10 March 2008, 17:10 »

Ahhhh ! What a wonderfull answer  Kiss Kiss
Logged
Arnaud
Newbie
*
Posts: 43


View Profile
« Reply #13 on: 10 March 2008, 20:02 »

Emir,

I have developped my own PHP plugin to show my latest news. I'm currently searching a way to add some informations at the top of the module : links for live filter options (news categories).

When I insert a link (for example) or just a word, my plugin result is not shown (loading...).

Could you please tell me :

1) how can i add other informations than table result in my plugin ?
2) how can i set a variable (category name or id) or something else to apply the selected filter (link).

Thank you for your help Wink
Logged
Pages: [1]
  Print  
 
Jump to: