Strange characters in logs in formatted number arguments.
pirogronian opened this issue · comments
Observed behaviour
Example:
Info: Warning: 'averageTemp' is ���0 for body 'Uluru'
Info: Warning: 'averageTemp' is Q0 for body 'Francesca'
Info: StarSystemCache: misses: ����P�����0, slave hits: ����P�����0, master hits: ����P�����0
Expected behaviour
According to source code I tracked it down to, there should be decimal integer number characters - ciphers, dot and minus, I think.
My pioneer version (and OS):
Pioneer: Archlinux AUR git package 20230203.r394.g8d54d5011-1 (but I think it's not a PKBUILD issue int this case).
Archlinux up-to-date.
My output.txt (required) and game save (optional, but recommended)
logs.txt
What locale is set for Pioneer? What happens when you set LC_ALL=C
before running Pioneer?
I've never seen this issue reported before, but it could potentially be a bug in the fmt
library.
What locale is set for Pioneer? What happens when you set
LC_ALL=C
before running Pioneer?
Locale is set to Polish-utf8, but after setting to C there is no big difference, I think.
My potatoest PC is affected but I thought it was environment's fault