Opened 18 years ago
Closed 18 years ago
#2225 closed patch (fixed)
UTF-8 support in external text-based subtitle file for the internal video player
Reported by: | jlagop -- jlagop A T gmail.com -- | Owned by: | Isaac Richards |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | external subtitle files |
Cc: | Ticket locked: | no |
Attachments (1)
Change History (6)
comment:1 Changed 18 years ago by
comment:2 Changed 18 years ago by
Milestone: | 0.20 |
---|
comment:3 Changed 18 years ago by
Milestone: | → 0.20 |
---|
I attached a patch. I'd like to get this in before a release as this is a major hindrance for people using UTF8 sub files.
Improvements and fixes to the external (text) subtitle file support:
- Fix printing the loaded subtitle file to the log.
- Fix loading of UTF8 subs: detect if the strings cannot be presented as valid UTF8 chars and fall back to Latin1 in that case (TODO: add user option to select the fall back encoding, as it's not possible to reliably detect the 8-bit encoding)
comment:4 Changed 18 years ago by
Milestone: | 0.20 |
---|
Note: See
TracTickets for help on using
tickets.
Maybe I can help on solvind this issue, if some help on where to start looking is given (fontname? QString issues?... Sorry, no much knowledge about myth coding). Thanks.