Re: [SMARTY] Smarty and Unicode
| From: | messju mohr | Date: | Tue, 28 Feb 2006 19:47:20 +0000 |
| Subject: | Re: [SMARTY] Smarty and Unicode | ||
| References: | 1 2 3 4 5 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-13339@lists.php.net to get a copy of this message | ||
On Tue, Feb 28, 2006 at 06:07:32PM +0000, Marcus Bointon wrote:
> On 28 Feb 2006, at 17:57, Vicente Werner wrote:
>
> >Regex don't even work, so if you're goin' to use regular
> >expressions, you're out of luck for non latin languages
>
> So given that it apparently does work, is it therefore true that the
> Smarty compiler and all standard plugins are regex-free?
no. first of all: all plugins that care about encoding (like
capitalize, lower or truncate) may not (or very likely won't) work.
regearding regexes: i don't see a problem why an ascii reges shouldn't
match on utf-input. if you stick to ascii with with your variable
names and identifiers, then utf-8 templates should be transparent to
smarty.
> Marcus
> --
> Marcus Bointon
> Synchromedia Limited: Putting you in the picture
> marcus@synchromedia.co.uk | http://www.synchromedia.co.uk
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php