You are not logged in.

#1 2021-08-26 05:31:42

pfif
Member
Registered: 2021-08-26
Posts: 1

Emacs not taking input from fcitx

Hello everyone!

Since a recent update, emacs has been behaving strangely when I try to type Japanese characters in it.

I use fcitx as an input method, which itself uses mozc for Japanese character input. It works well on other softwares, like Firefox or Mousepad.

However, I have two problems with emacs.

  • The first is a known one, whereby Emacs won't accept input from fcitx if LC_CTYPE is set to english.

  • However, if I start emacs with

    LC_CTYPE=zh_CN.UTF-8 emacs

    , something stranger happens.

    • What I type is clearly being redirected to fcitx, as a popup with japanese text in it, as usual when typing in mozc.

    • However, non of these character are then inputed into emacs.

Here is a screenshot of fcitx working in Firefox, and another one of emacs refusing any input from it.

https://i.imgur.com/FtsyU1A.jpeg
https://i.imgur.com/JpSM2mb.jpeg

Could someone point me in the correct direction to solve this problem?

Thanks!
Pfif

Mod edit: Please don't embed huge images directly -- V1del

Last edited by V1del (2021-08-26 07:20:46)

Offline

#2 2021-08-26 07:26:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,344

Re: Emacs not taking input from fcitx

if LC_CTYPE is set to english

What is "english"? "C"?

https://wiki.archlinux.org/title/Fcitx#Emacs

locale -a # do you actually have chinese locales?

Do you run emacs in client/daemon setup?

Ceterum censeo: https://archlinux.org/packages/extra/x86_64/vim/ tongue

Offline

Board footer

Powered by FluxBB