tmuxp icon indicating copy to clipboard operation
tmuxp copied to clipboard

Config files written with locale encoding but read with hardcoded UTF-8

Open zandivx opened this issue 6 months ago • 3 comments

freeze, convert, and import_config write config files with locale.getpreferredencoding(False), but config_reader.py reads them back with hardcoded encoding="utf-8". If the locale isn't UTF-8, any non-ASCII content (session names, paths) corrupts on round-trip.

zandivx avatar May 21 '26 13:05 zandivx

Related https://github.com/tmux-python/libtmux/issues/678

tony avatar May 23 '26 13:05 tony

@zandivx does the latest tmuxp (1.70.0) / libtmux (v0.58.0) resolve this for you?

tony avatar May 23 '26 18:05 tony

@zandivx does the latest tmuxp (1.70.0) / libtmux (v0.58.0) resolve this for you?

I think so, yes! Thx a lot! I'm still running into some issues, but I think they originate from psmux.

zandivx avatar May 25 '26 16:05 zandivx