HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...
Bug #681314
msys2: "Norwegian Bokmål" misdisplayed in Windows installer
0%
Description
(outstanding part of Gna bug #21060)
The description of the "nb" language code (Norwegian Bokmål) is mangled on display, at least on my (Windows 7 British English) system. See screenshot. It looks to me like UTF-8 interpreted as ISO 8859-1 or Win1252.
bootstrap/langnames.txt (from which this string comes) is encoded in UTF-8. I'm guessing that encoding will pass straight through create-freeciv-gtk2-nsi.sh to the NSIS script, and what happens then will depend on NSIS' character set handling.
Is there some way to tell NSIS that the script it's been given is UTF-8 encoded, and if so will everything from then on Just Work?
Failing that, we could take the pragmatic step of changing the encoding of langnames.txt in svn to ISO 8859-1.
(Originally reported against 2.4.0-RC1. Still seen with 2.5 and 2.6 msys1-based installers, unsurprisingly.)
History
#1
Updated by Jacob Nevins over 3 years ago
Previous comment from cazfi:
"For the UTF-8 problem this might be useful link: http://nsis.sourceforge.net/Utf8Converter"
#2
Updated by Marko Lindqvist over 3 years ago
In case it matters at all, what was the version of nsis in msys1 again? (It displays version number on the horizontal line above the "Next", "Accept" etc buttons.)
#3
Updated by Jacob Nevins over 3 years ago
WINE says that the one I took the screenshot from is "Nullsoft Install System v2.46".
#4
Updated by Marko Lindqvist over 3 years ago
Maybe related:
"Unicode true" directive was introduced in nsis-3.0. Our msys2 installers have that directive set since gna patch #7632.
#5
Updated by Marko Lindqvist about 1 year ago
The problem is present in msys2 (191012) based installer built from S3_0.
#6
Updated by Marko Lindqvist about 1 year ago
Jacob Nevins wrote:
Failing that, we could take the pragmatic step of changing the encoding of langnames.txt in svn to ISO 8859-1.
Langnames.txt has other users. I'm not sure how they would like such a change.
#7
Updated by Marko Lindqvist about 1 year ago
- File 0016-msys2-Convert-langstat-files-to-ISO-8859-1-when-buil.patch 0016-msys2-Convert-langstat-files-to-ISO-8859-1-when-buil.patch added
Here's a patch to do installer build time conversion of the language statistics I will test when I get the opportunity. This testpatch is for S3_0 msys2 installers.
#8
Updated by Marko Lindqvist about 1 year ago
- Status changed from New to In Progress
- Sprint/Milestone set to 2.6.2
Marko Lindqvist wrote:
Here's a patch to do installer build time conversion of the language statistics I will test when I get the opportunity.
Seems to work.
#9
Updated by Marko Lindqvist about 1 year ago
- Subject changed from "Norwegian Bokmål" misdisplayed in Windows installer to msys2: "Norwegian Bokmål" misdisplayed in Windows installer
- Status changed from In Progress to Resolved
- Sprint/Milestone changed from 2.6.2 to 2.6.1
Splitting to two tickets, one for msys1 and one for msys2. This is mainly because fixes may land in different releases. As this ticket already has msys2 patch, making Bug #852637 the msys1 one.
It's not clear if this patch can make it to 2.6.1 release or not, but working towards it.
#11
Updated by Marko Lindqvist about 1 year ago
- Sprint/Milestone changed from 2.6.1 to 2.6.2
#12
Updated by Marko Lindqvist about 1 year ago
- Status changed from Resolved to Closed
- Assignee set to Marko Lindqvist