manateelazycat / sdcv

Emacs interface for sdcv (Stardict console version)
73 stars 14 forks source link

unicode parsing problem? #12

Closed logexp1 closed 4 years ago

logexp1 commented 4 years ago

My emacs buffer or posframe does not correctly display special characters or symbols (ex. '\u2022' instead of bullet symbol) unlike in the picture from your README. When I run sdcv command from the shell inside emacs, it does print correctly. What might be wrong? any suggestion? Thanks

manateelazycat commented 4 years ago

sdcv.el use LANG=zh_CN.UTF-8 before call sdcv program.

Which LANG set by your system?

logexp1 commented 4 years ago

That was the problem! Thanks!