Skip Menu |

This queue is for tickets about the Subtitles CPAN distribution.

Report information
The Basics
Id: 74150
Status: resolved
Priority: 0/
Queue: Subtitles

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.03
Fixed in: (no value)



Subject: subtitles in SRT UTF-8 with BOM considered invalid
If I give a file in SRT format with UTF-8 character encoding with the BOM (0xEF, 0xBB, 0xBF) at the start of the file to "subs", it yields an error: {{{ Error loading '...':Invalid line numbering at line 1 }}} If I delete the BOM, the error is gone. According to http://en.wikipedia.org/wiki/Byte_order_mark , the Unicode Standard does permit the BOM in UTF-8. "subs" should read subtitles in UTF-8 with the BOM.
Please check the patch, it works for me but I need the proof.
Subject: diff
Download diff
application/octet-stream 1.5k

Message body not shown because it is not plain text.

fixed in 1.04