Use StringTokenizer for locale canonicalization.