Author Topic: CHARSET - ISO-8859-1 BUG  (Read 4115 times)

Offline elabranche

  • Newbie
  • *
  • Posts: 3
CHARSET - ISO-8859-1 BUG
« on: November 30, 2007, 09:47:41 PM »
Hi,

I can't seem to be able to display french writen e-mail with special characters in my e-mails. The special characters basically show up as "blank", but all normal characters seem fine?

I have read some threads on this forum, tried some fixes...but I still have a problem with no solutions.

I need to have ISO-8859-1 on roundcube for it to work. I have tried :

$rcmail_config['charset'] = 'iso-8859-1'; --> in main.inc.php

This doesn't work!!

Is there some extra code & need to input somewhere...or take out somewhere for this to work?

Any help in the right direction would trully help.

thanks!
 

Offline calande

  • Jr. Member
  • **
  • Posts: 64
Re: CHARSET - ISO-8859-1 BUG
« Reply #1 on: December 06, 2007, 08:01:19 PM »
I'm French also. It's about time everybody switches to the recommended charset utf-8. I use utf-8 and I can write all latin characters in RC perfectly 8)

Offline elabranche

  • Newbie
  • *
  • Posts: 3
Re: CHARSET - ISO-8859-1 BUG
« Reply #2 on: December 06, 2007, 09:50:00 PM »
Hi calande,

Do you mean that I should be able to read franch characters if I switch all to utf-8?? By default, roundcube uses utf-8 no?

Could you please give me more info on how to have my roundcube work for french?

thanks!

Offline calande

  • Jr. Member
  • **
  • Posts: 64
Re: CHARSET - ISO-8859-1 BUG
« Reply #3 on: December 07, 2007, 06:50:56 AM »
Sure :)
First make sure when you edited any .php file such as main.inc.php you saved them using utf-8
Then all messages you receive should be displayed properly:



Then you can write with accents:





Nothing else to change :)

Offline elabranche

  • Newbie
  • *
  • Posts: 3
Re: CHARSET - ISO-8859-1 BUG
« Reply #4 on: December 07, 2007, 11:02:31 AM »
calande!!!!

thanks a million... that actually worked!!

For those wondering, what I did is simply opene main.inc.php with gedit(a text editor), then "saved as" main.inc.php(basically overwriting the original one). Gedit gives the option to "save as utf-8". I also made sure that the line "$rcmail_config['charset'] = 'iso-8859-1'; --> in main.inc.php " was removed and mentionning utf-8.

Once I did that, I went back in roundcube & "voila" , I could write & read the french language correctly!

thanks Again Calande! ;D

Offline calande

  • Jr. Member
  • **
  • Posts: 64
Re: CHARSET - ISO-8859-1 BUG
« Reply #5 on: December 07, 2007, 11:06:38 AM »
De rien :)
You welcome 8)