File node creates us-ascii files instead of utf8 on Armbian

Hello, I'm facing an irritating issue. While trying to save JSON using File node the file that is created nearly always has us-ascii encoing. It works well when JSON does not contain any special chars, but when I try to save "ł" letter as a part of the string things get messy because "ł" is saved as "B". In the end I get "PaweB" instead of "Paweł". What is interesting if I try to save other polish diactrical signs like "żółć" the file is created with iso-8859-1 encoding. My Node-RED instance is working on Orange Pi One board running Debian-based Armbian. This is really rather confusing because on that Armbian I've got all of the locale settings turned to us_EN.utf8 as you can see below:

root@orangepione:# locale
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8

Do you have any idea what can be wrong with those settings? The goal is to save the file with utf8 encoding.

Thank you

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.