Opened 8 years ago

Closed 8 years ago

#1538 closed bug (fixed (in master))

Spoiler generation needs utf8 support

Reported by: magnate Owned by: noz
Milestone: 3.4.0 Keywords: utf8
Cc:

Description

The object spoiler is fine because there are no non-ASCII characters in object.txt (except in "Palantir", but insta-arts are skipped).

The short monster spoiler is ok, but every time a non-ASCII char is printed the column alignment is off by one.

The long monster spoiler crashes with "software bug" halfway through.

The artifact spoiler prints the names and descriptions but none of the properties.

Change History (3)

comment:1 Changed 8 years ago by magnate

  • Status changed from new to assigned

noz is working on this.

comment:2 Changed 8 years ago by noz

Partially fixed this, apart from the column alignment in the short monster spoiler. Not quite sure how to do that, as printf formatting widths don't work with UTF-8 input, as it counts bytes.

comment:3 Changed 8 years ago by magnate

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in [r8924b00]. The short monster spoiler isn't terribly important.

Note: See TracTickets for help on using tickets.