[TYPO3-english] vge_tagcloud and proper handling of UTF-8 tags

François Suter fsu-lists at cobweb.ch
Wed Apr 13 08:23:52 CEST 2011


Hi Jigal,

> PHP regexps do not convert anything, they are just not UTF-8 aware. In
> fact PHP is not character set / encoding aware at all.

Thanks for clarifying.

> There is however an easy solution: use the modifier 'u'. [1] It can
> reduce performance, but at least you have a UTF-8 aware regular expression.
>
> [1] http://www.php.net/manual/en/reference.pcre.pattern.modifiers.php

Very interesting, I didn't know.

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-english mailing list