This is a live notes post. It is of very low interest to almost all readers, but I do believe that the more open my work is, the better that work goes. These are posts mostly written for me, but if you arrived here from a search engine and it looks like I once had a problem that you have now then feel free to drop me a line and I’ll put things into order a little bit.
Supertitle had an error last week processing files with the Spanish character ‘ñ’. I’d like to track it down.
I’m using this file https://docs.google.com/spreadsheets/d/17zWpndfKgj76H6TlFjQaeZK8o5pQ8OFFx1RR4cD3vx4/edit as the test.
Ran python download_and_create_html.py without any modification. Worked fine.
Put ‘Español’ as a column title..
Traceback (most recent call last):
File “download_and_create_html.py”, line 124, in <module>
File “download_and_create_html.py”, line 101, in convert_folder_into_html
File “download_and_create_html.py”, line 49, in convert_sup_to_srt
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xc3 in position 4: ordinal not in range(128)
Ah-ha – I placed the same text in the actual body of the subtitles and had NO problem – looks like it’s an output thing.
git checkout -b fixaccent
(and have put the error text back in the heading
#20/04/2016-18:54:59 GMT+1: Commit http://joereddington.com/5880/2016/04/20/live-notes-supertitle-development./
to a relevant bit of code and the problem appears solved. Will also include it as a policy that we use the international country codes for column headings.