Ver originalfunction isChar($char){ $tomatch = "ÀÁÂÃÄÅàáâãäåÒÓÔÕÖØòóôõöøÈÉÊËèéêëÇçÌÍÎÏìíîïÙÚÛÜùúûüÿÑñ"; return (preg_match('/[a-zA-Z]/',$char)) ||(strpos($tomatch, $char) !== false);}