glut23 / webvtt-py

Read, write, convert and segment WebVTT caption files in Python.
MIT License
188 stars 56 forks source link

BOM in Caption - WEBVTT #37

Closed MBelkhechine closed 4 months ago

MBelkhechine commented 3 years ago

Hi,

I would like to thank you first for this handy library.

Like the title suggests, is there a way to generate WEBVTT text/content with BOM?

I followed the documentation but the result was always without any byte order mark.

glut23 commented 4 months ago

Hi @MBelkhechine I know I am commenting this very late, but the latest 0.5.0 version includes an improved BOM handling that will allow you to have file with BOM or remove it as needed. Details in the docs. Closing this issue now. Thanks!