#44055: fcmp: textdomain encoding set only after --help output shown Open Date: 2022-03-08 14:28 Last Update: 2023-11-10 08:11 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: 2023-11-10 08:11 Updated by: cazfi * Milestone Update from 3.0.9 to 3.0.10 --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: 3.0.10 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