The appropriate language settings need to be defined in LC_ and/or relevant markup/html UTF encoding(s).
Linux note pad apps[2]
App written in bash (makes use of html utf-8/-16/-32) protocol.[3]
Old school unix geek might suggest something such as [5] perhaps with nroff,sed, awk -b / gawk scripts as html formatting templates per xterm windos call.
[0] : https://unix.stackexchange.com/questions/74618/how-to-change...
[1] : https://man7.org/linux/man-pages/man7/utf-8.7.html
[2] : https://itsfoss.com/note-taking-apps-linux/
[3] : https://github.com/justinyaodu/bashed
[4] : https://superuser.com/questions/1599019/setting-lang-c-lc-al...
[5] : https://www.reddit.com/r/commandline/comments/nyogk0/the_mos...