Am 22.06.2011 15:45, schrieb Lars Schultz: > Am 22.06.2011 15:40, schrieb Reindl Harald: >> and why this will not return true if $str is ISO-8859-1? > If you RTFM (in your jargon) you would know. > > http://ch.php.net/manual/en/function.htmlspecialchars.php (Return value > Section)
i read the fucking manual > If the input string contains an invalid code unit sequence within the given > charset > and the ENT_IGNORE flag is not set, then htmlspecialchars() will return an > empty string. so damend NOT ALL CHARACTERS are multibyte and so it will return true for "hello" so what will you tell me above boy?
signature.asc
Description: OpenPGP digital signature