| |
How do you insert foreign language characters into a Web form textbox? For example, what if you have a localized site for Spanish and the text box that is supposed to accept characters áÁéÉíÍóÓúÚñÑüÜ«»`¿¡— but you don't have a Spanish keyboard. I've found and used three different techniques to obtain these types of characters so that I could put them into a Web form for testing.
- Find the character or character set on the Web, copy them and paste them into the textbox. Good references for character sets are: Unicode, official Unicode charts, Unicode transformation charts, HTML entities, ISO Latin-1, ASCII set and HEX values, Spanish punctuation.
- Use Microsoft Office (Word is easiest) to create the characters. If you know the Unicode value, you can type that value into the document (e.g. 2014) highlight it and press ALT+X. The number will then be converted to the character. This also works in reverse (convert the character back to the Unicode number, great for creating a regular expression using Unicode numbers).
- For ASCII characters, use ALT + the ASCII number on the numeric pad (e.g. ALT+0191 creates the ¿ character). You can do this directly in the browser/textbox.
|
|