0

We have default POSIX locale in our server but when non-ASCII character like רקטות לגוש דן וירושלים(hebrew) uploaded in server its getting changes to רק××ת ×××ש ×× ××ר×ש×××, How can preserve it as it is like רקטות לגוש דן וירושליםenter image description here

1
  • Hey! Thanks for your input. I tried setting both Frontend & Backend server to en_US.UTF-8 & the observation is still same if the characters are non-ascii its showing as xxx in Backend server logs when its triggered from Frontend service, When I tried from Postman to Backend server directly its showing the original name as it is, So tried to put a log in Frontend server as well there also the name is as it is but when the being passed to FE-->BE somehow its getting changed.
    – Amrita
    Commented Nov 14, 2023 at 16:28

1 Answer 1

3

that's not happening on the server; the displaying of characters is done locally by your terminal emulator. So you need a terminal that cleanly deals with these characters. Should pretty much be UTF-8 encoding these days, so any non-ancient, non-esoteric terminal will work. I like alacritty, but it's just one of many.

However, POSIX is not a great locale; it's basically undefined for everything but which 26 letters are "upper case" (ABCDEFGHIJKLMNOPQRTUVZ, to be specific). You probable want a something.UTF-8 locale, e.g. en_US.utf-8 or he_IL.utf-8.

2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .