Re: mildly OT from bidi - curious email

From: Arthur Reutenauer via Unicode <unicode_at_unicode.org>
Date: Wed, 6 Feb 2019 15:53:49 +0100

On Wed, Feb 06, 2019 at 02:30:24PM +0000, Julian Bradfield via Unicode wrote:
> So far, so common. The curious thing is that the (entirely
> ASCII) company name was enclosed in a left-to-right direction, thus:
>
> Subject: Your <LRE>Aaaaaaa Ltd<POP> receipt [#nnnn-nnnn]
>
> where <LRE> and <POP> are the bidi control characters.
>
> I don't think I've seen this before - I wonder why it happened?

  Maybe Stripe stores merchant names with surrounding bidi control
characters, so that they’re always rendered in the appropriate
direction, even by systems that don’t implement the bidi algorithm?
Since the subject is clearly generated automatically from at least three
different sources, I can imagine wanting this sort of weak guarantee
that merchant names are always marked with the correct writing
direction, even if they’re embedded in a different-language string. The
directional characters would only need to be added once.

        Best,

                Arthur
Received on Wed Feb 06 2019 - 08:56:24 CST

This archive was generated by hypermail 2.2.0 : Wed Feb 06 2019 - 08:56:24 CST