@xakan Ouais une "chaîne de caractères" en PHP c'est vraiment juste un byte-array. Et tout ce qui commence par str* fonctionne grosso modo que avec les caractères ASCII.
IIRC si tu utilisais setlocale avec la locale FR ça pouvait convertir certain accent.
@j3j5 I also saw about mb_strtoupper, but I thought it had the same behaviour. In fact, it deals with accented characters :)
Thanks for the reminder ;)
@xakan yeah, character encoding is weird, all the mb_ functions deal with the "multi byte" encodings like utf-8, as a speaker of a language with accents (spanish), I always use those just in case :)
Add comment