This queue is for tickets about the Subtitles CPAN distribution.

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

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

BugTracker
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

Message body not shown because it is not plain text.

fixed in 1.04


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.