Chapter 15. Searching and Sorting

A side from drawing it on the screen (or some other output device), the most important processes that are usually performed on text are searching and sorting. Of course, the main thing these two operations have in common is string comparison. As with the other processes we've considered, a number of interesting complications are involved in performing string comparison on Unicode strings, many of which stem from the larger repertoire of characters in Unicode. Unlike with many of the other processes, however, some of the issues that make good string comparison difficult are not at all unique to Unicode, but are issues that arise when dealing with text in any format.

Virtually every Unicode support library provides ...

Get Unicode Demystified 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.