Moodle

Chatd Module show uncorret charset in IE7 for European special characters. The same module work correctly with FF

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Not a bug
  • Affects Version/s: 1.8.3
  • Fix Version/s: None
  • Component/s: Chat
  • Labels:
    None
  • Environment:
    Server Apache 2.0.52 - PHP 5.2.0 - MySQL 5.0.27 on Cent OS 4.5 p8
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_18_STABLE

Description

When we use Chatd module in Moodle, the users using IE7 report the substitution of particular letters (in our case Italian) è ì ò à etc etc with strange characters. IE7 set itself on European ISO. This issue do not occur with Firefox, that correctly set ourself in the right charset UTF8

  1. FF2.0.0.9.gif
    10 kB
    10/Nov/07 4:06 PM
  2. FF2.0.0.9.png
    5 kB
    10/Nov/07 3:43 PM
  3. IE7.gif
    18 kB
    10/Nov/07 4:06 PM
  4. IE7.png
    11 kB
    10/Nov/07 3:43 PM

Activity

Hide
Petr Škoda (skodak) added a comment -

I suppose the encodin ehaders is missing in chat server code, please fix apache configuration for now, there should be no default charset directive.

Show
Petr Škoda (skodak) added a comment - I suppose the encodin ehaders is missing in chat server code, please fix apache configuration for now, there should be no default charset directive.
Hide
Dongsheng Cai added a comment - - edited

See petr's comment, fix apache configuration, set default charset directive. Feel free to reopen if you find other problems

Show
Dongsheng Cai added a comment - - edited See petr's comment, fix apache configuration, set default charset directive. Feel free to reopen if you find other problems
Hide
Eloy Lafuente (stronk7) added a comment -

Uhm... couldn't we set that header in chatd? Just guessing...

Show
Eloy Lafuente (stronk7) added a comment - Uhm... couldn't we set that header in chatd? Just guessing...
Hide
Lukasz Sanokowski added a comment -

I have tried to change apache default charset to UTF-8, and MS IE does not render polish latin characters properly.
The problem is the same when no default charset is set.

I use debian server, apache2, php5, moodle 1.9.3

I agree with Eloy Lafuente, that charset should be set in header of chatd.

Show
Lukasz Sanokowski added a comment - I have tried to change apache default charset to UTF-8, and MS IE does not render polish latin characters properly. The problem is the same when no default charset is set. I use debian server, apache2, php5, moodle 1.9.3 I agree with Eloy Lafuente, that charset should be set in header of chatd.
Hide
Lukasz Sanokowski added a comment -

I'm sorry for mess, but I don't know how to edit my previous comment. I described behaviour of chatd under Internet Explorer 6.

Now I use MS Internet Explorer 7 and it render polish national characters properly. Apache default charset is set to UTF-8.

Show
Lukasz Sanokowski added a comment - I'm sorry for mess, but I don't know how to edit my previous comment. I described behaviour of chatd under Internet Explorer 6. Now I use MS Internet Explorer 7 and it render polish national characters properly. Apache default charset is set to UTF-8.

Dates

  • Created:
    Updated:
    Resolved: