Ticket #4683 (closed defect: fixed)

Opened 7 months ago

Last modified 7 months ago

If comics.txt is UTF-8 with a byte order mark, the first comic is skipped

Reported by: Kirtai Owned by: kovidgoyal
Priority: minor Milestone:
Component: Comic Input Version: trunk
Keywords: Cc:

Description

When converting *.cbc files, if the comics.txt file is UTF-8 encoded and starts with a Byte Order Mark (BOM) then the chapter in the first line is skipped.

The BOM should be skipped over to parse the first chapter entry.

N.B. UTF-8 files without a BOM work but editors like Notepad will invisibly add a BOM to UTF-8 files by default.

Also, it's possible this will affect UTF-16 and other unicode formats too but I haven't tested that

Change History

comment:1 Changed 7 months ago by kovidgoyal

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

Fixed in branch trunk. The fix will be in the next release.

Note: See TracTickets for help on using tickets.