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

upper et les accents

 
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
will83
Smarty n00b


Joined: 04 Oct 2008
Posts: 2

PostPosted: Sat Oct 04, 2008 7:11 pm    Post subject: upper et les accents Reply with quote

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
View user's profile Send private message
Ruff-PXVI
Smarty n00b


Joined: 14 Mar 2009
Posts: 3

PostPosted: Sat Mar 14, 2009 12:44 pm    Post subject: Re: upper Reply with quote

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
View user's profile Send private message Send e-mail
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