#44055: fcmp: textdomain encoding set only after --help output shown Open Date: 2022-03-08 14:28 Last Update: 2022-09-09 22:20 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/44055 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44055 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-09-09 22:20 Updated by: cazfi * Milestone Update from 3.0.4 to 3.0.5 Comment: Better to leave further startup flow changes to 3.0.5. --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: 3.0.5 Component: (None) Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket 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 information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/44055 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=44055