Validating Non-Latin User Input
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
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 ...
Get MCAD/MCSD.NET Training Guide (Exam 70-316): Developing and Implementing Windows®-Based Applications with Microsoft® Visual C#™ .NET and Microsoft® Visual Studio® .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.