Re: [SMARTY] Smarty and Unicode

"messju mohr" <[email protected]>
Newsgroups gmane.comp.php.smarty.general
Message-ID <20060228194720.GB14428@dune>
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
> [email protected] | http://www.synchromedia.co.uk
> 
> -- 
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFEBKjIubKPpFA4n0URAhXDAJ42BaYcYr9wTyHiZsGbiIy2G6XA3ACgg355
cmGoerYLlxNEa/0wwx2tX6c=
=xXAk
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.