Ticket #44055

fcmp: textdomain encoding set only after --help output shown

Open Date: 2022-03-08 21:28 Last Update: 2023-04-01 14:38

Reporter:
Owner:
(None)
Type:
Status:
Open
Component:
(None)
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None

Details

At least with fcmp (haven't checked other programs) --help output comes before logging I added to init_character_encodings() about bind_textdomain_codeset("freeciv-core" ...) call. That is; translations for --help output are potentially looked with wrong encoding.

Ticket History (3/7 Histories)

2022-03-08 21:28 Updated by: cazfi
  • New Ticket "fcmp: textdomain encoding set only after --help output shown" created
2022-07-19 16:34 Updated by: cazfi
2022-09-10 04:20 Updated by: cazfi
Comment

Better to leave further startup flow changes to 3.0.5.

2022-12-03 21:46 Updated by: cazfi
Comment

Reply To cazfi

Better to leave further startup flow changes to 3.0.5.

...and now it's 3.0.5 already getting to semi-freeze.

2022-12-17 09:30 Updated by: cazfi
Comment

Can't reproduce this, and everything seems to be in correct order in the source code.

2023-02-01 01:30 Updated by: cazfi
2023-04-01 14:38 Updated by: cazfi
Comment

Reply To cazfi

Can't reproduce this, and everything seems to be in correct order in the source code.

Keeping still open for another, a bit more throughout, check.

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login