|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
harlock59 Smarty n00b
Joined: 18 Apr 2006 Posts: 2
|
Posted: Fri May 12, 2006 10:35 am Post subject: accents à partir de mysql |
|
|
bonjour, j'ai inséré plus d'une centaine d'enregistrements dans un base mysql en innodb, et je voudrais afficher la liste avec smarty, mais les accents sont remplacés par d'autres caractères(�). y a t il une fonctions 'htmlentities' dans smarty ? merci pour toute réponse. |
|
Back to top |
|
bonvga Smarty Rookie
Joined: 17 Mar 2005 Posts: 6
|
Posted: Wed Jun 21, 2006 9:46 pm Post subject: |
|
|
hello,
ça c'est certainement encore un probleme d'encodage.
si tu utilise php5, regarde les fonctions utf8_encode et utf8_decode.
tout dépend de l'encodage que tu as choisis pour ta base de donnée. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|