Chinese characteres are not properly rendered in CMD/Powershell - cmd

I have this rendering issue on Chinese characters on multiple console app: fzf, lazygit and vim (when running fzf).
I have set the chcp to 65001 as default, using the correct font for Chinese (so the displaying the characters themselves have no problem). And the problem occurs to 2 PCs I have, one running Win10 Pro, one Win10 home. I have also tried to set system locale to Chinese and Use Unicode NTF-8 for worldwide language support option. Both options result the same.
I suspect there is some generic system setting that I could have tried / missed out. Would appreciate if you could point out to me. Many thanks in advance!

Related

too much spacing between letters windows terminal

I'm using a windows terminal and was trying to install an ubuntu font that was downloaded from the google.fonts site, so no errors were expected. But just for this application, the spacing between letters is too large. I also tried in Microsoft Word, there are no problems there.
Perhaps the solution is to set up a json file with a Windows terminal configuration.
Please tell me how to fix this
enter image description here

iterm2 stopped showing cyrillic in Mojave (Terminal.app works fine)

iTerm2 stopped showed cyrillic letters (it shows ? instead of them). Terminal.app worked fine. System localization was setup to Russian.
Everything were working in High Sierra
Clarification: iTerm2 is usually used not as 'ssh' client but as regular terminal app on client macOS machine instead.
I would like to not that changing LC_ALL to russian is not good option here since it will change entire locale variable which will change the behaviour of other applications, I don't want to have russian in terminal output on the servers for example. So I would suggest to change it to en_US.UTF-8 instead.
Solution is simple - just add export LC_ALL=ru_RU.UTF-8 to ~/.bashrc

IntelliJ IDEA and Android Studio terminal doesn't recognize emoji, while Mac terminal does

I have a different emoji in my .bash_profile config depending on the user in the terminal. I have both IntelliJ and Android Studio and the emoji shows as a broken character (Two squares). Is there any way to get intellij to recognize emoji. I have a couple of user profiles and I set the emoji to provide me with an easy way to know what profile I'm in without taking up 10 characters in the cmd line. This way, I save 9 chars.
I know this sounds like a bit of a ridiculous request (Who the heck needs emoji in terminal), but since the Mac terminal supports it, I suppose it wouldn't be a huge deal to get it working in IntelliJ?

Monotype Hadassah font doesn't display correctly under win 7

i recently installed fresh win 7 pro OS on brand new DELL i5 desktop machine. while trying to use word 2013, i noticed that text written in Monotype Hadassah font is displayed using Times new roman font.
is anybody noticed such an issue?
thanks.
after some experiments:
the fonts works OK in notepad - which means that probably the problem is in office 2013 and not in the OS itself.
since the font is registered as restricted with respect to the "embedding" ability i thought that it may be due to this restriction, but nevertheless, removing the restriction ( i recommend on TTFPatch utility didn't change the behaviour.
interestingly, i found that saving the document as PDF resulted in correct rendering of the
font - which is pretty satisfactory to me.

Keyboard layout sticks to french on emacs over ssh

I have a mac, on which I routinely use two keyboard layouts, French and UK english.
Locally I have an installation of Aquamacs I believe, which is running fine. However my work involves connecting to a ssh server running on a Linux x64 architecture, and this is where the problem lies.
When running emacs over ssh with X forwarding, the keyboard layout/input method remains French, no matter what I do. I have tried toggling input method, forcing it to British, I even tried other input methods that seemed to work fine. The French mac keyboard layout is very unpractical for programming, so I would really like to use the regular british layout.
I have tried recompiling the latest version of emacs from scratch, I have also moved my .emacs so that it is not used and removed .emacs.d, to no avail. I have also tried the solution here How to return emacs to qwerty keyboard layout? This just changes U into U+1 in the status bar (I do not know what that means) but has no effect on the layout.
Any help would be greatly appreciated.
"I have tried toggling input method" is very vague,since there are many different levels where this can be done.
I suspect the issue is that your X server is using the French layout for some reason and that it does not correctly react to changes in Mac OS X's own layout choice. You might like to check the config of your X server.

Resources