radu242407 has quit [Quit: Ping timeout (120 seconds)]
kayw has quit [Ping timeout: 272 seconds]
radu2424078 is now known as radu242407
kayw has joined #foot
sosodank has quit [Quit: Leaving]
rcf has quit [Quit: WeeChat 3.3-dev]
rcf has joined #foot
veiviser has quit [Remote host closed the connection]
novakane has joined #foot
veiviser has joined #foot
themainman has joined #foot
rcf has quit [Quit: WeeChat 3.3-dev]
rcf has joined #foot
jer0me has joined #foot
lechner has quit [*.net *.split]
mvdan has quit [*.net *.split]
jcgruenhage has quit [*.net *.split]
ynakao has quit [*.net *.split]
jeromenerf has quit [*.net *.split]
rcf has quit [*.net *.split]
cherti has quit [*.net *.split]
ollysmith has quit [*.net *.split]
craftyguy has quit [*.net *.split]
yyp has quit [*.net *.split]
dnkl has joined #foot
caughtquick has quit [Ping timeout: 272 seconds]
lh has quit [Ping timeout: 276 seconds]
ecs has joined #foot
sterni has joined #foot
yyp has joined #foot
ynakao has joined #foot
jcgruenhage has joined #foot
lechner has joined #foot
cherti has joined #foot
amk has joined #foot
craftyguy has joined #foot
rcf has joined #foot
ollysmith has joined #foot
rumpelsepp has quit [Ping timeout: 240 seconds]
jcgruenhage has quit [Ping timeout: 256 seconds]
testuser[m] has quit [Ping timeout: 268 seconds]
lilblacky has joined #foot
lilblacky has quit [Client Quit]
mvdan has joined #foot
rumpelsepp has joined #foot
testuser[m] has joined #foot
caughtquick has joined #foot
lh has joined #foot
jcgruenhage has joined #foot
themainman has quit [Quit: WeeChat 3.1]
themainman has joined #foot
novakane has quit [Quit: WeeChat 3.2]
novakane has joined #foot
avane has joined #foot
lechner has quit [Quit: WeeChat 3.0]
lechner has joined #foot
<lechner>
Hi, today I surprised to see in weechat: charset.default.decode string "iso-8859-1" according to their user guide, the default is UTF-8 unless the terminal requests otherwise. (my foot config appears to be silent.) does foot use a default encoding other than UTF-8? Thanks! https://weechat.org/files/doc/stable/weechat_user.en.html#charset_set
<Arnavion>
Terminals don't have charsets. It's talking about your locale env vars
<Arnavion>
Specifically it looks at LC_CTYPE to figure out its "local" charset
<dnkl>
lechner: what Arnavion said. And to add to that: foot verifies at startup that your locale is utf-8, and refuses to start if not. However, it is possible your shell rc files change the locale to a non-utf8 one after foot has started
<fnurkla>
fset
<fnurkla>
oof
fnurkla has quit [Quit: WeeChat 3.2]
<lechner>
dnkl: being on a modern Debian system with $LANG=en_US.UTF-8 (and $LC_ALL undefined) the latter is unlikely. I'll ask on #weechat. Thank so much!
<lechner>
from #weechat: "you're right, everything is UTF-8 internally, but weechat tries to decode iso-8859-1 when something is not valid UTF-8 so it's safe to keep this, and if you really want to disable, you can set an empty string there"
<Arnavion>
Cool
<Arnavion>
FWIW that "fallback to iso-8859-1" behavior was an endless source of problems for us in HexChat because it would randomly kick in for stuff like unicode apostrophes
<Arnavion>
We removed it, and had a couple of people complaining because they were in channels where everybody had similarly broken clients outputting a mash of iso and utf8 that happened to work before, but everyone else was fine
<Arnavion>
It depends on what channels you're in, of course