Archive

Posts Tagged 'php'
guidelines by e-mail

PHP - substr and UTF-8

April 15th, 2010 2 comments

If you have a problem working with strings in PHP UTF-8 - the problem is probably that the substr goes by the number of bits and not by the number of characters. In UTF-8 has more bits per character, so it then hacking away with chain hooks and accents more than it should (today it cost me 2 hours searching in the code before I figured out that the error is not on my receiver). Can it solve its own functions.
Read more ...

search
Tags: , , Categories: Computers Tags: , ,
CONDITIONS
careers