wking / oci-command-line-api

A command-line API specification for opencontainers/specs
Apache License 2.0
2 stars 3 forks source link

Punt to the operating system for character encodings #2

Closed wking closed 8 years ago

wking commented 8 years ago

Reopened from #1 after adding @julz signed-off-by and squashing the initial commits (after clearing that with him on IRC).

Without this, “may contain any Unicode characters” seemed too ambiguous.

I wish there were cleaner references for the {language}.{encoding} locales like en_US.UTF-8 and UTF-8. But Wikipedia links seem too glib, and I can't find a more targetted UTF-8 link than just dropping folks into a Unicode chapter (which is what Wikipedia does):

The Unicode Standard, Version 6.0, §3.9 D92, §3.10 D95 (2011)

With the current v8.0 (2015-06-17), it's still §3.9 D92 and §3.10 D95.

The TR35 link is for:

In addition, POSIX locales may also specify the character encoding, which requires the data to be transformed into that target encoding.

and the POSIX §6.2 link is for:

In other locales, the presence, meaning, and representation of any additional characters are locale-specific.

jlbutler commented 8 years ago

Agreed, LGTM.

wking commented 8 years ago

On Wed, Dec 02, 2015 at 05:57:01PM -0800, Jesse Butler wrote:

Agreed, LGTM.

I added a Reviewed-by for you (following the semantics here 1), since that's how I interpret LGTM. And I used the email address you've been using with dev@. Let me know if either of those are not ok, and I'll reroll master to adjust.