Opened 11 years ago
Closed 11 years ago
#7738 closed patch (fixed)
Accented characters in EIA-708 (ATSC) closed captions show up as boxes
Reported by: | Owned by: | danielk | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | MythTV - ATSC | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Accented characters in EIA-708 closed captions (on ATSC stations) do not show up correctly. They appear as boxes.
The underlying problem is sign extension which occurs when characters are converted from char to ushort in the CCtableG1 array. (For example, the character 0xE0 becomes 0xFFE0 instead of 0x00E0 when it is converted.)
Attached is a patch which corrects this problem by adding casts to uchar into the definition of CCtableG1.
Attachments (2)
Change History (4)
Changed 11 years ago by
Attachment: | fix-accented-characters.patch added |
---|
comment:1 Changed 11 years ago by
The music note character also shows up as a square since its code point is incorrect. I've corrected it to 0x266A (EIGHTH NOTE) in a second patch (music-note-correction.patch) which I've attached.
Fix accented characters in EIA-708 closed captions