Managing User Input

Global applications require several special considerations when planning for manipulation and validation of user input. When attempting to validate non-Latin character user input, it might be necessary to extract single characters in sequence through string indexing. The comparison and sort order of a simple alphabetic sort routine might produce different results, depending on the culture used.

String Indexing

The Unicode standard supports 32-bit extended characters (surrogate characters) and 32-bit characters that are formed by combining two 16-bit Unicode characters (combined characters), such as an accent mark and the base character to which it applies. To evaluate these characters amid other normal input characters, it ...

Get Developing and Implementing Windows®-Based Applications with Visual C#™ .NET and Visual Studio® .NET Exam Cram™ 2 (Exam 70-316) 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.