averagehat / gcap

Automatically exported from code.google.com/p/gcap
0 stars 0 forks source link

Decode HTML entities in subtitles #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.gcap y0dJ4GPz12Y
2.cat y0dJ4GPz12Y_ro.srt | grep quot
3.

What is the expected output? What do you see instead?
" should be replaced with: "
' should be replaced with: '

What version of the product are you using? On what operating system?
0.0.5

Please provide any additional information below.
Temporary fix:
`perl -pi -e 's/"/"/g' $srt_file`;
`perl -pi -e "s/'/'/g" $srt_file`;

Original issue reported on code.google.com by triz...@gmail.com on 13 Feb 2011 at 7:28

GoogleCodeExporter commented 9 years ago
-> 0.0.6

Original comment by legatvs on 16 Feb 2011 at 11:23