htaccess UTF-8 error

First of all thank you for this great and amazing product!.
I am truly impressed!!!

Found only one problem:
The htaccess file, when adding rewrite rules insurrections does not work
at least not in my language (hebrew) or any other UTF-8 languages

for example, if I add this:

RewriteCond %{QUERY_STRING} a=work
RewriteCond %{QUERY_STRING} x=300
RewriteRule ^$ /טכנאים-ברמת-גן/? [L,R=301]

after saving a few time the Hebrew changes to a different words!!
and by that mess all the redirect

example of the new words after you save and reopen it could be

RewriteCond %{QUERY_STRING} a=work
RewriteCond %{QUERY_STRING} x=300
RewriteRule ^$ /טכנ-בגמת-ג/? [L,R=301]

which is of course page which does not exist, therefor this a critical issue.

I thought about saving the htaccess as UTF-8 instead of ASCII
I think I tried it, and still the htaccess messes the words

another issue is that if you put Hebrew in the query it will not work at all.

RewriteCond %{QUERY_STRING} worker=משה-טכנאים
RewriteRule ^$ /index/משה-טכנאים/? [L,R=301]

By the way, you can see that there is a problem, because even if you create a new fresh website . the hebrew letters in the new file are just wrong and create gibberish instead of Hebrew instructions which was meant to be

Here are the strange Hebrew instructions found in a new htaccess file.

BEGIN WordPress

הראות (שורות) בין “BEGIN WordPress” לבין “END WordPress” הן

נוצר באן דינמי, ויש לשנו אותן רק באמצעות יטרים של וורדפר.

ל שינוי בהוראת בין סממנים אלה דרס.

So this is a defiantly a bug, since the htaccess can not handle Hebrew font.

Thank you

I don’t see any answer on this bug.
I think, this is one of the major bug here,

In a nutshell: you can’t use the htaccess because it doesn’t support UTF-8, and it change the words which you put in the file.

I am using digital-ocean as my provider and Ubuntu 2.01.1(focal)

Any answer or reference will be appreciated.