Changelog page is empty; use unicode for input

Bug #1242354 reported by Hans Joachim Desserud
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Widelands Website
Fix Released
Low
Unassigned

Bug Description

Use unicode when reading files from widelands-trunk as well when uploading maps.

Reference: https://docs.python.org/2/howto/unicode.html#reading-and-writing-unicode-data

This may need also a check for mysql encoding: https://dev.mysql.com/doc/refman/5.7/en/charset-applications.html

----------
(Pointed out on IRC earlier today by mifritscher):
https://wl.widelands.org/changelog/ returns an empty page without a changelog.

I suspect this might be one of the things not carried over when the website was updated.

Related branches

Revision history for this message
SirVer (sirver) wrote :

There was a character in the changelog that was illegal for markdown, therefor the changelog would not render correctly. Fixed.

Changed in widelands-website:
status: New → Fix Released
Revision history for this message
GunChleoc (gunchleoc) wrote :

This has regressed.

Changed in widelands-website:
status: Fix Released → Confirmed
Revision history for this message
kaputtnik (franku) wrote :
Revision history for this message
kaputtnik (franku) wrote :

Maybe should add a check for invalid characters?

Revision history for this message
GunChleoc (gunchleoc) wrote :

Or even better, support Unicode. A curly quote shouldn't break stuff.

Revision history for this message
kaputtnik (franku) wrote :

Yes, that's better :-)

I had set the encoding in editor to something different to see the bad character, and had forgotten that i changed this, so i thought the bad character was introduced by some magic :-S :-D

Lets leave this bug open if the branch is merged. I change the Bug description tomorrow to something like "Use unicode when reading files from trunk"

Revision history for this message
GunChleoc (gunchleoc) wrote :

Sounds like a plan.

kaputtnik (franku)
description: updated
summary: - Changelog page is empty
+ Changelog page is empty; use unicode for input
kaputtnik (franku)
Changed in widelands-website:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.