I found this interesting website on language codes:

http://www.w3.org/International/articles/language-tags/Overview.en.php

Format:
        language-script-region-variant-extension-privateuse

Examples:

    * en-GB (British English)
    * es-005 (South American Spanish)
    * zh-Hant-HK (Traditional Chinese as used in Hong Kong)

Important: Although the codes are case insensitive, they are commonly
written lowercased, but this is merely a convention.

So there you have it. We must treat them as case insensitive. Allen gut
of doing it just because he could turned out to be the correct way of
doing it according to the "w3c". Please remind me I need to solve the
"ilike" issue on the getWeblogEntries using the HQL instead of the
Criteria API.

-Elias

Reply via email to