4.4. Conclusion
In this chapter, we discussed one of the most complex and challenging aspects of programming—the problem of internationalizing code. This topic builds on the previous two chapters because I18N is largely concerned with strings and regular expressions.
We saw how Ruby makes some aspects of this fairly easy with the jcode library and related tools. We also got an overview of character sets in general and Unicode in particular.
We looked at how regular expressions are generally more “Unicode-aware” than strings and examined pack and unpack in terms of their usefulness in manipulating Unicode strings.
Finally, we looked at message catalogs in some detail. We know why they exist and how to create and maintain them.
Now that we have ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access