Java Cookbook
iso 3166
The concept of the locale is central to internationalization. It is the foundation for all other aspects of software internationalization. At its most basic a locale represents the language of a user. This is handled by combining a language and country code.
Java uses ISO 639 codes for languages and ISO 3166-2 codes for country. ICU4J combines the two codes with a potential script name and appends additional data to the end after an '@'. That additional data could refer to a calendar type or collation order, etc...
If you are testing any of these recipes in Eclipse and the characters are not displaying correctly in your console visit http://i18ncookbook.com/eclipse_settings.
This site is ad supported. I hope you find something among our sponsors worth clicking. ;)
i18n search