Jump to content

problem with accents


Recommended Posts

in fact, the messages in the database are already filtered with htmlentities and looks like this:

ouè man

 

This is weird... Can you take a look at the code shoutbox uses to display messages to see if it's replacing these entities somehow? Because data sent to shoutbox seem to be enocded correctly.

 

well like i said when i check inside the database, the accents are already encoded with html entities

 

and since the shoutbox display the accents correctly, there must be a way to do it...

 

 

here is the script of the shoutbox i am using if this can help:

http://qshout.borisding.com/download_qshout.php?action=download

This code smells...

 

Anyway, take a look at function retrieveChat() in qshout.php. Especially on these lines:

 

  $user    = html_entity_decode($row["user"],ENT_QUOTES);
  $message = html_entity_decode($row["message"],ENT_QUOTES);
  $message = parseStringToHTTP($message);

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.