Validate user input.
Validate non-Latin user input.
Another area where world-ready applications may require code changes is in handling character strings. The following sections look at two areas where different alphabets may require you to implement code changes: string indexing and data sorting. These areas require the most coding attention for non-Latin characters (such as Arabic, Hebrew, or Cyrillic characters), but they can be important when you're dealing with Latin characters as well.
String indexing refers to the process of extracting single characters from a text string. You might think that you could simply iterate through the data that makes up the string 16 bits at a time, treating each ...