|
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 |
will83 Smarty n00b
Joined: 04 Oct 2008 Posts: 2
|
Posted: Sat Oct 04, 2008 7:11 pm Post subject: upper et les accents |
|
|
Bonjour
J'ai utilisé upper pour pouvoir mettre un titre de page en majuscule. Malheureusement, celui-ci ne prend pas en compte les accents:
{title|upper} m'affiche :
SOCIéTé
Comment faire pour qu'il affiche SOCIÉTÉ?
Merci |
|
Back to top |
|
Ruff-PXVI Smarty n00b
Joined: 14 Mar 2009 Posts: 3
|
Posted: Sat Mar 14, 2009 12:44 pm Post subject: Re: upper |
|
|
Le plugin smarty upper ne fait qu'appliquer la function native php strtoupper
alors en se référant à la documentation, les voyelles accentuées ne pourront être converties que si la configuration de localisation est effectuée de façon à prendre en compte les majuscules accentuées.
Il vous reste la possibilité de modifier le plugin afin de remplacer les caractères accentués par les caractères majuscules accentués.
By red09 |
|
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
|