made safe for use on servers without the multibyte extension
improved character limit readability on invalid fields