Jump to content

Problem with accented characters on Apache


Dave_77

Recommended Posts

Hi all, my first post.

 

We have an IPB 2.3.3 forum engine, running on Apache 2.2.6, PHP 5.2.4, MySQL 5.0.24.

 

Things seem to be about 95% OK, however, there are occasional problems with posting: several members tried to post Hungarian and French characters, like

Á Í Ő Ö Ő Ű

à â ç é è ê ë î ï ô û ù ü ÿ

 

These are not getting through, and they get an error:

 

Bad Request

 

Your browser sent a request that this server could not understand.

Apache/2.2.0 (Fedora) Server at Port 80

 

Members have been asked to try with Explorer, Firefox and Opera, and all get the same results. This is strange, as most Croatian and Serbian characters that are accentuated, like: č, š, ć, ž. These go through just fine, as well as Cyrillic alphabet is OK as well.

 

We asked Invision Power Board tech support, however they say that the errors are on the server end in the Apache configuration, and not IPB. Which seems logical, as before the move on the new server (I don't think the old server used to run Apache), nothing like this used to happen. They advised us that this is most probably due to mod_security module in Apache, and that we should reconfigure it somehow to let these characters through.

 

 

On a different, but possibly related note - we'd like to switch our board from iso-8859-1 charset to UTF-8. We already have about 100.000 posts in the database, so is this likely to cause any errors in these? Also, is it necessary to add the "AddDefaultCharset utf-8" setting to Apache conf? So far it is commented out, and we thought that it would be enough to go to System Setting in our Board's configuration and set the Document Character Set to "utf-8". "AddDefaultCharset utf-8" is currently commented out from our Apache conf, do you think we should uncomment it for this?

 

Thanks in advance

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.