ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Arthur Reutenauer <arthur.reutenauer@normalesup.org>
To: Mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re:  Commands based on previously defined commands, DA with fixed values for šrguments
Date: Sat, 7 Aug 2010 20:01:18 +0200	[thread overview]
Message-ID: <20100807180118.GC6456@phare.normalesup.org> (raw)
In-Reply-To: <AANLkTiksid7qcVzDtu-YFsRiOiN7ajbbLkz3zREZkAxt@mail.gmail.com>

  Even if this is completely unrelated to ConTeXt, allow me to mention
this since I find it so funny:

  The message to which I'm replying has the following weird subject:

# Subject: Re: [NTG-context] Commands based on previously defined commands,
# 	DA with fixed values for šrguments

  Notice the word "DA" at the beginning of the second line, and the word
"šrguments"?  This was obviously not in Vedran's original message:

# Subject: [NTG-context] Commands based on previously defined commands,
#         with fixed values for   arguments

  Let me venture an explanation about how this happened: when replying
to the first message, René's e-mail transformed the subject as such:

# Subject: [NTG-context]
# 	=?UTF-8?Q?Re:__Commands_based_on_previously_defined_commands,
# 	=D=A_with_fixed_values_for_=9arguments?=

  This is quoted-printable, where all the characters but the "basic"
ones are quoted using their code point in the current encoding (here
UTF-8): hence the end line characters (carriage return + line feed) have
been rewritten as =D and =A respectively, in hexadecimal (it's 13 and 10
in decimal), and the tabulation character as =9 (for some reason, there
was a tab before the word "arguments").  But this is actually not
correct, the character codes should be formatted using two hexadecimal
digits (hence =0D, =0A and =09).  This is probably why when replying to
René, Vedran's e-mail agent has interpreted the "=D" and "=A" sequences
as plain 'D' and 'A', and, upon seeing the sequence "=9arguments", it
has use the letter 'a' in "arguments" as an exadecimal digit!  Which it
has interpreted as a Windows-1252 character (Microsoft's extension of
latin-1), where 0x9A is 'š', thus producing this rather weird result.

  This is a particularily disturbing example of mojibake
(http://en.wikipedia.org/wiki/Mojibake).

	Arthur
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2010-08-07 18:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-07 16:03 Commands based on previously defined commands, with fixed values for arguments Vedran Miletić
2010-08-07 16:10 ` Commands based on previously defined commands, =D=A with fixed values for �rguments R. Bastian
2010-08-07 16:21   ` Commands based on previously defined commands, DA with fixed values for šrguments Vedran Miletić
2010-08-07 18:01     ` Arthur Reutenauer [this message]
2010-08-07 16:33 ` Commands based on previously defined commands, with fixed values for arguments Aditya Mahajan
2010-08-07 16:54   ` Vedran Miletić
2010-08-07 17:10     ` Arthur Reutenauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100807180118.GC6456@phare.normalesup.org \
    --to=arthur.reutenauer@normalesup.org \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).