Hebrew with putty

Hebrew with putty

אורי uri at speedy.net
Thu Sep 30 12:08:49 IDT 2021


Hi Michael,

Did you use putty then?

אורי
uri at speedy.net


On Thu, Sep 30, 2021 at 12:07 PM Michael Shiloh <michaelshiloh1010 at gmail.com>
wrote:

> This is very interesting. A while ago I was looking at something in Hebrew
> (I can't remember if it was a website or email) and I realized that the
> phone numbers were reversed. I'll bet they had the same bug you are talking
> about.
>
> Now if only I could remember what that was ....
>
> ‪On Thu, Sep 30, 2021 at 11:45 AM ‫אורי‬‎ <uri at speedy.net> wrote:‬
>
>> Hi,
>>
>> I realized it is probably a bug in putty, so I wrote to
>> putty at projects.tartarus.org and got a reply.
>>
>> https://www.chiark.greenend.org.uk/~sgtatham/putty/feedback.html
>>
>> However the putty developers might need help to fix it as they are not
>> RTL-language speaking themselves, so if you know how to do it you can write
>> to them or send them a patch of the source code. I tried to look at the
>> putty source code myself but it looks complicated and I don't know how to
>> fix this bug for myself. There is an option to disable bidirectional text
>> display in putty, but then the Hebrew text is reversed too.
>>
>> אורי
>> uri at speedy.net
>>
>>
>> ‪On Thu, Sep 30, 2021 at 7:10 AM ‫אורי‬‎ <uri at speedy.net> wrote:‬
>>
>>> Hi,
>>>
>>> I'm using bash on Ubuntu. I run a command to check how many times each
>>> lines appear. My command is something like:
>>>
>>> $ cat /var/log/django/speedy.log*|fgrep -i send_mail|fgrep
>>> 'subject="'|fgrep -v uri+selenium-test-user|awk -F\, '{print
>>> $(NF-1)","$NF}'|sort|uniq -c|sort -nr|fgrep -v
>>> email/contact_by_form/admin_feedback
>>>
>>> And the results are:
>>>
>>> ...
>>>      96  template_name_prefix=email/messages/new_message, subject="You
>>> have a new message on Speedy Net"
>>>      39  template_name_prefix=email/messages/new_message, subject="יש לך
>>> הודעה חדשה בספידי מץ'"
>>>      22  template_name_prefix=email/accounts/confirm_first_email,
>>> subject="אמת את כתובת הדואר האלקטרוני שלך בספידי מץ'"
>>>      15  template_name_prefix=email/accounts/confirm_second_email,
>>> subject="Confirm your email address on Speedy Net"
>>>      10  template_name_prefix=email/likes/like, subject="מישהו עשה לך
>>> לייק בספידי מץ'"
>>>       7  template_name_prefix=email/accounts/confirm_first_email,
>>> subject="אמתי את כתובת הדואר האלקטרוני שלך בספידי מץ'"
>>>       6  template_name_prefix=email/accounts/password_reset,
>>> subject="Password reset on Speedy Net"
>>> ...
>>>
>>> (I only showed a few lines in the middle).
>>>
>>> I do it with putty SSH, but when I view it with putty, I see "01" where
>>> "10" should be, and "93" where "39" should be (see screenshot attached). I
>>> think this is because the rest of the line is in Hebrew. Why does it show
>>> "01" and "93" and how can I fix it, if I can?
>>>
>>> Thanks,
>>>
>>>
>>> אורי
>>> uri at speedy.net
>>>
>> _______________________________________________
>> Linux-il mailing list
>> Linux-il at cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20210930/eabe05fe/attachment-0001.html>


More information about the Linux-il mailing list