Eduardo, in your interpretation of the RFCs is declaring 7 bit on
Content Transfer Encoding in conflict with declaring UTF-8 as the
character set?
On Mon, 17 Jan 2022, Adam H. Kerman wrote:
Eduardo, in your interpretation of the RFCs is declaring 7 bit on
Content Transfer Encoding in conflict with declaring UTF-8 as the
character set?
I do not think there is a conflict here. Let me say it in a different way. >The Content-Tranfer-Encoding here just tells you how to process the data.
If could have other values, such as base64, or quoted-printable, so the
value tells you what to do with the data. In the case of 7 bit just
interpret that 7 bit in the charset, in this case utf-8, which actually
means US-ASCII. In other words
7bit intersected with utf-8 = us-ascii,
so you could write us-ascii for the charset in this case, or utf-8. It
seems more like a question of style, not of correctness.
Having said that, I prefer to use us-ascii in this case because more
clients are likely to understand us-ascii instead of utf-8. Alpine did not >get utf-8 handling until very late, while many other clients understood >utf-8, so it was better for pine users to receive a message 7bit in
us-ascii than 7-bit in utf-8, because Pine could not handle the latter.
I doubt that there are Pine users still out there (although I can always
be proven wrong) but it is better to be conservative here in my opinion.
Thanks. This is why I asked you. I thought 7 bit was about the
communication channel and not the capabilities of the client and display
on the other end.
If the display interprets MIME headers, does that mean the same 7-bit character is displayed ignoring the eighth bit or two characters are displayed in a UTF-8 double byte character? All this time, when my
terminal emulation translation didn't match what was received (I have to change it manually), I thought I was changed the assumed character set,
not the transfer encoding toggle.
On Mon, 17 Jan 2022, Adam H. Kerman wrote:
Eduardo, in your interpretation of the RFCs is declaring 7 bit on
Content Transfer Encoding in conflict with declaring UTF-8 as the
character set?
I doubt that there are Pine users still out there (although I can always
be proven wrong) but it is better to be conservative here in my opinion.
On Mon, 17 Jan 2022, Adam H. Kerman wrote:
Thanks. This is why I asked you. I thought 7 bit was about the >>communication channel and not the capabilities of the client and display
on the other end.
If the display interprets MIME headers, does that mean the same 7-bit >>character is displayed ignoring the eighth bit or two characters are >>displayed in a UTF-8 double byte character? All this time, when my
terminal emulation translation didn't match what was received (I have to >>change it manually), I thought I was changed the assumed character set,
not the transfer encoding toggle.
I never used the word display to refer to how the message actually
displays on the screen. The headers tell the client what to do internally. >For example, if the content-transfer-encoding were base64, then this tells >the client to decode the encoded blob. Same with 7bit. It just tells to >interpret the 7 bit it finds in the given charset. This will become a >character on screen later on.
I have to acknowledge that I do not understand completely what you are
saying. There is no "transfer encoding toggle" in Alpine,
nor there is a "assumed character set",
so I am not exactly sure what you are referring
to, but if I understand you correctly, you are asking what happens to >multibyte characters. Unless you make changes to the default configuration
in Alpine, Alpine will send to the terminal utf-8 codes, which the
terminal will display if it is utf-8 capable. Do you have Alpine and our >terminal configured differently?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 293 |
Nodes: | 16 (2 / 14) |
Uptime: | 227:11:28 |
Calls: | 6,624 |
Calls today: | 6 |
Files: | 12,171 |
Messages: | 5,318,848 |