Capitalize and accented characters

From: Date: Tue, 16 May 2006 17:43:40 +0000
Subject: Capitalize and accented characters
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-13430@lists.php.net to get a copy of this message
I am seeing an odd result of capitalize. Basically, the letter after an accented character is capitalized, as if it a new word has started. Ex: The word typed is "gráfica", the capitalized result returned by smarty is "GráFica". In some SW I wrote, I consider words to match the regexp "[a-zà-ü]", but I think capitalize is matching "[a-z]" only. Appreciate any insights, Osiris Pedroso -- Optimizer Consulting http://www.swoptimizer.com Phone: 1.415.259.5760 -----Original Message----- From: Davide Muzzarelli [mailto:reg@dav-muz.net] Sent: Tuesday, May 16, 2006 1:24 PM To: smarty-general@lists.php.net Subject: [SMARTY] Unassign plugin updated The unassign plugin is updated, now it can unassign also an array item! Unassign is good to mantain clean your templates. The syntax is simple: {unassign var=$foo} For unassign an array item: {unassign var=$foo.bar} See and download at: http://smarty.incutio.com/?page=unassign Byez! -- Davide "Design" Muzzarelli www . dav - muz . net www. fraw . info - a PHP framework with Smarty -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.smarty.general (#13430) next »