Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

accents à partir de mysql

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: French
View previous topic :: View next topic  
Author Message
harlock59
Smarty n00b


Joined: 18 Apr 2006
Posts: 2

PostPosted: Fri May 12, 2006 10:35 am    Post subject: accents à partir de mysql Reply with quote

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
View user's profile Send private message
bonvga
Smarty Rookie


Joined: 17 Mar 2005
Posts: 6

PostPosted: Wed Jun 21, 2006 9:46 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: French All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP