Discussion: Smarty and Unicode
Afficher un message
Vieux 28/02/2006, 18h49   #3
Marcus Bointon
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [SMARTY] Smarty and Unicode

On 28 Feb 2006, at 17:28, Vicente Werner wrote:

> My experience is that it just works, no need to do anything -I made
> a BIG, BIG proyect on it- the main issue with unicode, it's not
> smarty, it's PHP itself.
> PHP has a terrible problem with it, since it's not supported
> natively and the mb extension just sucks -in order to be useable it
> should be a full replacement for all string related functions,
> which is not


Yup, I've been keeping tabs on the progress of PHP 6, and I watched a
database system do the big switch a couple of years ago. Given the
lack of unicode safety in PHP, I would expect to run into problems
with things like modifier plugins - all it takes is a single
preg_replace or str_replace and it's going to break, so I was
wondering how you go about ensuring that doesn't happen.

Marcus
--
Marcus Bointon
Synchromedia Limited: Putting you in the picture
marcus@synchromedia.co.uk | http://www.synchromedia.co.uk
  Réponse avec citation
 
Page generated in 0,04852 seconds with 9 queries