emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unicode confusables and reordering characters considered harmful


From: Eli Zaretskii
Subject: Re: Unicode confusables and reordering characters considered harmful
Date: Wed, 03 Nov 2021 19:13:23 +0200

> Date: Wed, 3 Nov 2021 15:46:06 +0100
> From: tomas@tuxteam.de
> Cc: emacs-devel@gnu.org
> 
> >     int hi = 5;
> >     int שָׁלוֹם = hi;
> >     int hello = 10;
> >     int السّلامعليك = hello;
> >     myfun(שָׁלוֹם ,السّلامعليكم)
> >
> > There's no override here, but did I call `myfun` with args 5 and 10 or
> > did I call it with args 10 and 5?
> 
> ... the args are 10 and 5, because the whole arg list is RTL.

No, they are 5 and 10 (assuming you read this left to right ;-)
Move the cursor with C-f from myfun, and you will see which one is the
first and which one the second.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]