• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Probléme accent

Started by nicolas,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nicolasTopic starter

Bonjours, j'ai une nouvelle probléme avec les accents dans les post d'article  ...

  •  

nicolasTopic starter

  •  

PHPVibe A.

You can change:

$db->escape($_POST['content'])


to

addslashes($_POST['content'])


In the create-post.php and/or create-page.php

nicolasTopic starter

Quote from: Alexander on
You can change:

$db->escape($_POST['content'])


to

addslashes($_POST['content'])


In the create-post.php and/or create-page.php

J'ai tout changer dans moderator/create-post.php / create-page.php /edit-post.php/edit-page.php

mais ça ne fonctionne pas .. :s
  •  

nicolasTopic starter



Je vien de remarquer que, les vidéos qui se font importer automatiquement via youtube sont aussi des problèmes accent ..
  •  

PHPVibe A.

Is your database charset set to utf-8?

nicolasTopic starter

Voici des screens




Les erreurs vien de la ?

si oui, comment régler le problème ?
  •  

PHPVibe A.

It seems ok, can I see how it's saved into the database to figure out what the issue may be? Can you click edit in phpmyadmin on an element with accents?

nicolasTopic starter

#8




Des images comme ça ?
  •  

nicolasTopic starter

je n'arrive pas à régler le probléme :s
  •  

PHPVibe A.

They are saved good in the sql.
Do you have mbstring on the server?
Also iconv would be also useful when processing strings via php with this formatting.

Similar topics (7)