doakey3 / Subsimport

Blender 3d addon for importing and editing subtitle and lyric files.
GNU General Public License v3.0
61 stars 15 forks source link

Writing exported files in UTF-8 encoding #1

Closed renatorroliveira closed 7 years ago

renatorroliveira commented 7 years ago

The SRT and LRC file exporting wasn't setting the file encoding to UTF-8. So when you use special characters in the subtitles and try to export then import the generated files, the special characters vanish from the strip. Corrected setting the file encoding to UTF-8 when opening the file for write.

doakey3 commented 7 years ago

Nice find. Thanks for helping!

renatorroliveira commented 7 years ago

No prob =)

I was wondering that a color selector for the subs imported would be a nice feature, what do you think?

doakey3 commented 7 years ago

I haven't figured out how to add properties to an importer. If you know how, I think that would be a good addition.

Importer Properties