Issue 45622: Generated jars.txt files are encoded as 1252 (ANSI - Latin I) on Windows builds but read using UTF-8

issues
Status:closed
Assigned To:Guest
Type:Defect
Area:Build
Priority:3
Milestone:22.07
Opened:2022-06-04 10:25 by adam
Changed:2022-06-30 15:23 by adam
Resolved:2022-06-09 08:39 by Susan Hert
Resolution:Fixed
Support Ticket: 
Pull Requests:gradlePlugin#148
server#263
Closed:2022-06-30 15:23 by adam
2022-06-04 10:25 adam
Title»Generated jars.txt files are encoded as 1252 (ANSI - Latin I) on Windows builds but read using UTF-8
Assigned To»Susan Hert
Type»Defect
Area»Build
Priority»3
Milestone»22.03
CreditsAction is expecting jars.txt files in UTF-8 (our standard character encoding) but on my machine the credits files generated by the build appear to be encoded as 1252. One symptom is the trademark symbols (™ and ®) on Commons CSV and Apache PDFBox appear as question mark diamonds (�) on the credits page. The symbols appear correctly on labkey.org, so I suspect the plug-in is using the server's default encoding, which happens to be UTF-8 on our TeamCity build machines.

Is it reasonably easy to switch jars.txt generation to use UTF-8? Forcing UTF-8 generation of these files would be ideal (vs. trying to sniff the encoding on the read side).

2022-06-05 20:37 adam
Milestone22.03»22.07
So not a 22.3 issue...

2022-06-08 12:17 Susan Hert
TitleGenerated jars.txt files are encoded as 1252 (ANSI - Latin I) on Windows builds but read using UTF-8»**Generated jars.txt files are encoded as 1252 (ANSI - Latin I) on Windows builds but read using UTF-8

2022-06-08 14:39 Susan Hert
Pull Requests»https://github.com/LabKey/gradlePlugin/pull/148 https://github.com/LabKey/server/pull/263

2022-06-09 08:39 Susan Hert
resolve as Fixed
Title**Generated jars.txt files are encoded as 1252 (ANSI - Latin I) on Windows builds but read using UTF-8»Generated jars.txt files are encoded as 1252 (ANSI - Latin I) on Windows builds but read using UTF-8
Statusopen»resolved
Assigned ToSusan Hert»adam
Merged to develop

2022-06-30 15:23 adam
close
Statusresolved»closed
Assigned Toadam»Guest
Looks good!