From: | Andreas Karlsson <andreas(at)proxel(dot)se> |
---|---|
To: | Jeff Davis <pgsql(at)j-davis(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: ICU locale validation / canonicalization |
Date: | 2023-02-10 00:04:57 |
Message-ID: | 70f1f48f-ef4b-89ec-f4a4-f9ebbec67b5c@proxel.se |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 2/9/23 23:09, Jeff Davis wrote:
> I do like the ICU format locale IDs from a readability standpoint.
> "en_US(at)colstrength=primary" is more meaningful to me than "en-US-u-ks-
> level1" (the equivalent language tag). And the format is specified[1],
> even though it's not an independent standard. But I think the benefits
> of better validation, an independent standard, and the fact that we're
> already favoring BCP47 outweigh my subjective opinion.
I have the same feeling one is readable and the other unreadable but the
unreadable one is standardized. Hard call.
And in general I agree, if we are going to make ICU default it needs to
be more user friendly than it is now. Currently there is no nice way to
understand if you entered the right locale or made a typo in the BCP47
syntax.
Andreas
From | Date | Subject | |
---|---|---|---|
Next Message | Tatsuo Ishii | 2023-02-10 00:07:01 | Re: make_ctags: use -I option to ignore pg_node_attr macro |
Previous Message | Peter Geoghegan | 2023-02-09 23:34:34 | Re: Minor meson gripe |