javascript - how to validate not to allow Chinese characters -
one of sql statement breaking when user enters chinese characters. did research , couldn't find any.
is there code available plugin or javascript function validate , allow english alphanumeric , allow special symbols.
if validate chinese characters there can other languages right , thought allow english characters combination of numbers , symbols.
any direction or input appreciated thanks
i tried allows alphanumeric
/[^a-za-z 0-9]+/g
how utf8 encoding text rather ban languages?
Comments
Post a Comment