I have a form field which would allow up to 120 characters and also accept all UTF-8 unicode character set including special, numeric and Alpha to provide for i18ncharacters. It should ignore leading and trailing spaces
As I have mostly used limited ASCII set, I am not sure what UTF-8 would include.
Could you please guide me about the basic differences of the ASCII/UTF-8 and the complete character set which should be allowed given the above requirement.
Thank you.
Simply, UTF-8 is a superset of US-ASCII. Any character in ASCII can be represented in UTF-8, and using the same bit representations. UTF-8 is one representation of Unicode, that allows for representation of any currently defined character.