Date: Wed, 10 Jun 2020 21:45:34 +0200
On Wed, 10 Jun 2020 at 21:35, Peter Brett via SG16 <sg16_at_[hidden]>
wrote:
>
> - Encoding of command-line arguments; [basic.start.main]p2.2
> <http://eel.is/c++draft/basic.start.main#2.2>
> - Encoding of environment variables; [support.runtime]p2
> <http://eel.is/c++draft/support.runtime#2>
>
>
Let me simplify:
Each piece of text coming from an underlying system or platform has an
encoding associated to it (this is deeply tautologic), the way that
encoding is determined is often locale dependent, or platform dependent.
This includes environment variables (if they are text), arguments, file
names ( except files names may not be text), pipes (if they are text),
consoles (of which there may be several), etc
>
> -
>
>
>
> *From:* SG16 <sg16-bounces_at_[hidden]> *On Behalf Of *Tom Honermann
> via SG16
> *Sent:* 10 June 2020 20:28
> *To:* SG16 <sg16_at_[hidden]>
> *Cc:* Tom Honermann <tom_at_[hidden]>
> *Subject:* [SG16] Terminology
>
>
>
> EXTERNAL MAIL
>
> I'm sending the following as a potential guide for discussion in today's
> SG16 telecon. My apologies for the short notice.
>
> The following lists "things" that we may need (new) names for. For those
> already present in the standard, the current terms used are included in
> parenthesis. If you can think of others, please reply.
>
> - *The encoding of source files.*
> (Physical source file character set; [lex.phases]p1.1
> <https://urldefense.com/v3/__http:/eel.is/c**Adraft/lex.phases*1.1__;Kysj!!EHscmS1ygiU1lA!Qhd9pnNpEhOhXSwz5Re0aGGBDzJlM2IceYV5pU-s8iETaVP8ZwgvwHHb3louvw$>
> )
> - *The source character repertoire.*
> (Basic source character set; [lex.charset]p1
> <https://urldefense.com/v3/__http:/eel.is/c**Adraft/lex.charset*1__;Kysj!!EHscmS1ygiU1lA!Qhd9pnNpEhOhXSwz5Re0aGGBDzJlM2IceYV5pU-s8iETaVP8ZwgvwHEw91o17Q$>
> )
> - *The compiler's internal character encoding.*
> (Internal encoding; [lex.phases]p1
> <https://urldefense.com/v3/__http:/eel.is/c**Adraft/lex.phases*1.1__;Kysj!!EHscmS1ygiU1lA!Qhd9pnNpEhOhXSwz5Re0aGGBDzJlM2IceYV5pU-s8iETaVP8ZwgvwHHb3louvw$>
> )
> - *The character set requirements for the encoding of character and
> string literals.*
> (basic execution character set; [lex.charset]p3
> <https://urldefense.com/v3/__http:/eel.is/c**Adraft/lex.charset*3__;Kysj!!EHscmS1ygiU1lA!Qhd9pnNpEhOhXSwz5Re0aGGBDzJlM2IceYV5pU-s8iETaVP8ZwgvwHHHcd_gbg$>
> )
> - *The character set requirements for the encoding of wide character
> and string literals.*
> (basic execution wide-character set; [lex.charset]p3
> <https://urldefense.com/v3/__http:/eel.is/c**Adraft/lex.charset*3__;Kysj!!EHscmS1ygiU1lA!Qhd9pnNpEhOhXSwz5Re0aGGBDzJlM2IceYV5pU-s8iETaVP8ZwgvwHHHcd_gbg$>
> )
> - *The encoding of character and string literals.*
> (execution character set; [lex.charset]p3
> <https://urldefense.com/v3/__http:/eel.is/c**Adraft/lex.charset*3__;Kysj!!EHscmS1ygiU1lA!Qhd9pnNpEhOhXSwz5Re0aGGBDzJlM2IceYV5pU-s8iETaVP8ZwgvwHHHcd_gbg$>
> )
> - *The encoding of wide character and string literals.*
> (execution wide-character set; [lex.charset]p3
> <https://urldefense.com/v3/__http:/eel.is/c**Adraft/lex.charset*3__;Kysj!!EHscmS1ygiU1lA!Qhd9pnNpEhOhXSwz5Re0aGGBDzJlM2IceYV5pU-s8iETaVP8ZwgvwHHHcd_gbg$>
> )
> - *The encoding of character literals when used in conditional
> preprocessing directive.*
> (; [cpp.cond]p12
> <https://urldefense.com/v3/__http:/eel.is/c**Adraft/cpp.cond*12__;Kysj!!EHscmS1ygiU1lA!Qhd9pnNpEhOhXSwz5Re0aGGBDzJlM2IceYV5pU-s8iETaVP8ZwgvwHF9PoQrXA$>
> )
> - *The encoding of wide character literals when used in conditional
> preprocessing directive.*
> (; [cpp.cond]p12
> <https://urldefense.com/v3/__http:/eel.is/c**Adraft/cpp.cond*12__;Kysj!!EHscmS1ygiU1lA!Qhd9pnNpEhOhXSwz5Re0aGGBDzJlM2IceYV5pU-s8iETaVP8ZwgvwHF9PoQrXA$>
> )
> - *The encoding of file names.*
> (Native encoding; [fs.path.type.cvt]p1
> <https://urldefense.com/v3/__http:/eel.is/c**Adraft/fs.path.type.cvt*1__;Kysj!!EHscmS1ygiU1lA!Qhd9pnNpEhOhXSwz5Re0aGGBDzJlM2IceYV5pU-s8iETaVP8ZwgvwHFf8GuPcg$>
> )
> - *The encoding of wide file names.*
> (Native encoding; [fs.path.type.cvt]p1
> <https://urldefense.com/v3/__http:/eel.is/c**Adraft/fs.path.type.cvt*1__;Kysj!!EHscmS1ygiU1lA!Qhd9pnNpEhOhXSwz5Re0aGGBDzJlM2IceYV5pU-s8iETaVP8ZwgvwHFf8GuPcg$>
> )
> - *The Unicode character set.*
> (ISO/IEC 10646; [lex.charset]p2
> <https://urldefense.com/v3/__http:/eel.is/c**Adraft/lex.charset*2__;Kysj!!EHscmS1ygiU1lA!Qhd9pnNpEhOhXSwz5Re0aGGBDzJlM2IceYV5pU-s8iETaVP8ZwgvwHF_BXXcPg$>
> )
> - *The encoding of characters and strings at run-time.*
> ()
> - *The terminal/console encoding*
> ()
>
> Tom.
>
>
>
>
>
>
>
>
>
>
>
> --
> SG16 mailing list
> SG16_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/sg16
>
wrote:
>
> - Encoding of command-line arguments; [basic.start.main]p2.2
> <http://eel.is/c++draft/basic.start.main#2.2>
> - Encoding of environment variables; [support.runtime]p2
> <http://eel.is/c++draft/support.runtime#2>
>
>
Let me simplify:
Each piece of text coming from an underlying system or platform has an
encoding associated to it (this is deeply tautologic), the way that
encoding is determined is often locale dependent, or platform dependent.
This includes environment variables (if they are text), arguments, file
names ( except files names may not be text), pipes (if they are text),
consoles (of which there may be several), etc
>
> -
>
>
>
> *From:* SG16 <sg16-bounces_at_[hidden]> *On Behalf Of *Tom Honermann
> via SG16
> *Sent:* 10 June 2020 20:28
> *To:* SG16 <sg16_at_[hidden]>
> *Cc:* Tom Honermann <tom_at_[hidden]>
> *Subject:* [SG16] Terminology
>
>
>
> EXTERNAL MAIL
>
> I'm sending the following as a potential guide for discussion in today's
> SG16 telecon. My apologies for the short notice.
>
> The following lists "things" that we may need (new) names for. For those
> already present in the standard, the current terms used are included in
> parenthesis. If you can think of others, please reply.
>
> - *The encoding of source files.*
> (Physical source file character set; [lex.phases]p1.1
> <https://urldefense.com/v3/__http:/eel.is/c**Adraft/lex.phases*1.1__;Kysj!!EHscmS1ygiU1lA!Qhd9pnNpEhOhXSwz5Re0aGGBDzJlM2IceYV5pU-s8iETaVP8ZwgvwHHb3louvw$>
> )
> - *The source character repertoire.*
> (Basic source character set; [lex.charset]p1
> <https://urldefense.com/v3/__http:/eel.is/c**Adraft/lex.charset*1__;Kysj!!EHscmS1ygiU1lA!Qhd9pnNpEhOhXSwz5Re0aGGBDzJlM2IceYV5pU-s8iETaVP8ZwgvwHEw91o17Q$>
> )
> - *The compiler's internal character encoding.*
> (Internal encoding; [lex.phases]p1
> <https://urldefense.com/v3/__http:/eel.is/c**Adraft/lex.phases*1.1__;Kysj!!EHscmS1ygiU1lA!Qhd9pnNpEhOhXSwz5Re0aGGBDzJlM2IceYV5pU-s8iETaVP8ZwgvwHHb3louvw$>
> )
> - *The character set requirements for the encoding of character and
> string literals.*
> (basic execution character set; [lex.charset]p3
> <https://urldefense.com/v3/__http:/eel.is/c**Adraft/lex.charset*3__;Kysj!!EHscmS1ygiU1lA!Qhd9pnNpEhOhXSwz5Re0aGGBDzJlM2IceYV5pU-s8iETaVP8ZwgvwHHHcd_gbg$>
> )
> - *The character set requirements for the encoding of wide character
> and string literals.*
> (basic execution wide-character set; [lex.charset]p3
> <https://urldefense.com/v3/__http:/eel.is/c**Adraft/lex.charset*3__;Kysj!!EHscmS1ygiU1lA!Qhd9pnNpEhOhXSwz5Re0aGGBDzJlM2IceYV5pU-s8iETaVP8ZwgvwHHHcd_gbg$>
> )
> - *The encoding of character and string literals.*
> (execution character set; [lex.charset]p3
> <https://urldefense.com/v3/__http:/eel.is/c**Adraft/lex.charset*3__;Kysj!!EHscmS1ygiU1lA!Qhd9pnNpEhOhXSwz5Re0aGGBDzJlM2IceYV5pU-s8iETaVP8ZwgvwHHHcd_gbg$>
> )
> - *The encoding of wide character and string literals.*
> (execution wide-character set; [lex.charset]p3
> <https://urldefense.com/v3/__http:/eel.is/c**Adraft/lex.charset*3__;Kysj!!EHscmS1ygiU1lA!Qhd9pnNpEhOhXSwz5Re0aGGBDzJlM2IceYV5pU-s8iETaVP8ZwgvwHHHcd_gbg$>
> )
> - *The encoding of character literals when used in conditional
> preprocessing directive.*
> (; [cpp.cond]p12
> <https://urldefense.com/v3/__http:/eel.is/c**Adraft/cpp.cond*12__;Kysj!!EHscmS1ygiU1lA!Qhd9pnNpEhOhXSwz5Re0aGGBDzJlM2IceYV5pU-s8iETaVP8ZwgvwHF9PoQrXA$>
> )
> - *The encoding of wide character literals when used in conditional
> preprocessing directive.*
> (; [cpp.cond]p12
> <https://urldefense.com/v3/__http:/eel.is/c**Adraft/cpp.cond*12__;Kysj!!EHscmS1ygiU1lA!Qhd9pnNpEhOhXSwz5Re0aGGBDzJlM2IceYV5pU-s8iETaVP8ZwgvwHF9PoQrXA$>
> )
> - *The encoding of file names.*
> (Native encoding; [fs.path.type.cvt]p1
> <https://urldefense.com/v3/__http:/eel.is/c**Adraft/fs.path.type.cvt*1__;Kysj!!EHscmS1ygiU1lA!Qhd9pnNpEhOhXSwz5Re0aGGBDzJlM2IceYV5pU-s8iETaVP8ZwgvwHFf8GuPcg$>
> )
> - *The encoding of wide file names.*
> (Native encoding; [fs.path.type.cvt]p1
> <https://urldefense.com/v3/__http:/eel.is/c**Adraft/fs.path.type.cvt*1__;Kysj!!EHscmS1ygiU1lA!Qhd9pnNpEhOhXSwz5Re0aGGBDzJlM2IceYV5pU-s8iETaVP8ZwgvwHFf8GuPcg$>
> )
> - *The Unicode character set.*
> (ISO/IEC 10646; [lex.charset]p2
> <https://urldefense.com/v3/__http:/eel.is/c**Adraft/lex.charset*2__;Kysj!!EHscmS1ygiU1lA!Qhd9pnNpEhOhXSwz5Re0aGGBDzJlM2IceYV5pU-s8iETaVP8ZwgvwHF_BXXcPg$>
> )
> - *The encoding of characters and strings at run-time.*
> ()
> - *The terminal/console encoding*
> ()
>
> Tom.
>
>
>
>
>
>
>
>
>
>
>
> --
> SG16 mailing list
> SG16_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/sg16
>
Received on 2020-06-10 14:48:55