chenqingyu / auto-sub

Automatically exported from code.google.com/p/auto-sub
0 stars 0 forks source link

Problem subtitels with special letters ë ï etc. #129

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Sometimes when the letters of ë ï or other kind of special letters are in 
the subtitling the letters are changed.

example geïnteresseerd becomes ged'nteresseerd

I am getting this with the streaming of my envivio with my Windows 7 PC

The subtitles are donwloaded with Windows 0.5.5. Beta the latest version.

Original issue reported on code.google.com by maxim.du...@gmail.com on 2 Oct 2012 at 3:44

GoogleCodeExporter commented 9 years ago
I think this is a problem with your media player, not Auto-Sub

Original comment by Donny.va...@gmail.com on 2 Oct 2012 at 8:54

GoogleCodeExporter commented 9 years ago
I believe it is part of the code used for the subtitels. When I open the 
subtitles with windows, he is asking which code to use. With windows coding it 
is right, but with UTF-8 it is giving a square with a ? in it. I had this with 
Person of interest S02E01 line number 37 één became ??n with a black square 
behind the ? and turned 45 degrees. Could it be possible that the UTF-8 is put 
different on my media player or is this coming from the code of downloading. I 
remember in the beginning I could read the subtitles downloaded with Autosub 
version 0.3 or something like it. With the version 0.4 this was solved.

Original comment by maxim.du...@gmail.com on 2 Oct 2012 at 9:03

GoogleCodeExporter commented 9 years ago
It is partly your media player and partly auto-sub. XBMC and some other media 
player check them selfs which encoding to be used and thus displaying the 
subtitles correctly. Some other mediaplayer just check what kind of encoding 
the subtitles is saved in. And here comes the auto-sub problem, I saved them 
using the default python codec. In this case it is a wrong codec.

Small fix, expect it in the next release.
Could you be so kind to upload a subtitle with the special characters?  Thanks 
in advance.

Original comment by romke.va...@gmail.com on 2 Oct 2012 at 8:15

GoogleCodeExporter commented 9 years ago
Here are the subtitles of Major Crimes in line 513 jou will find two special 
characters. Hope this will help you to find the right settings.

Thanks in advance and good luck with it for the next release.

Good work you are doing!

Original comment by maxim.du...@gmail.com on 2 Oct 2012 at 8:26

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks!

Original comment by romke.va...@gmail.com on 3 Oct 2012 at 7:59

GoogleCodeExporter commented 9 years ago
dear Romke,

I have find the solution on my mediaplayer. I had put the wrong font code in 
the system. I have changed the setting central european to unicode UTF8 and al 
problems are solved at the moment.

I will inform you when I still have some problems with this item.

Thank you for your time and effort.

Original comment by maxim.du...@gmail.com on 3 Oct 2012 at 8:23

GoogleCodeExporter commented 9 years ago
I have the same problem with my subtitels. A small work around: open your 
subtitel in notepad and save it with the codec utf-8.

Original comment by i...@pbservers.nl on 29 Oct 2012 at 10:46

GoogleCodeExporter commented 9 years ago

Original comment by romke.va...@gmail.com on 8 Nov 2012 at 5:45

GoogleCodeExporter commented 9 years ago

Original comment by romke.va...@gmail.com on 18 Apr 2013 at 2:29