mkrufky/libdvbtee

Support for german special characters

YugoCode opened this issue · 10 comments

The german special characters ä, ö and ü (https://simple.wikipedia.org/wiki/Umlaut) won't be displayed correctly.

dvbtee output:
04:25 - 05:10 : SOKO Kitzb�hel
09:05 - 10:15 : Volle Kanne - Service t�glich

Should be:
04:25 - 05:10 : SOKO Kitzbühel
09:05 - 10:15 : Volle Kanne - Service täglich

@YugoCode, does the iso6937 branch fix this for you?

Closing, as ISO6937 parsing support is now enabled by default in the master branch. Please reopen if this isn't working properly for you.

fjbf commented

I have problem with spanish characters. I think is not solved with ISO6937 branch:

tsudpreceive 239.10.10.10 2000 > capture.ts
Ctrl+C in 30 seconds
dvbtee -Fcapture.ts -j -E > capture.data

Then i see bad string in capture.data like:

"Don intenta ocultar su cada vez mÆs"
"parte, Peggy aæora a Pete y rechaza"

with bad characters

fjbf commented

Fixed temporarly with:

sed -e 's/Æ/á/g'
-e 's/Ø/é/g'
-e 's/Ŧ/í/g'
-e 's/ð/ó/g'
-e 's/œ/ú/g'
-e 's/æ/ñ/g'

@fjbf The branch was merged to master some time ago. If master branch still has an issue, would you be able to send a TS sample that I can use to reproduce the issue and fix it?

fjbf commented

capture.zip

You can unzip and try with:
dvbtee -E -j -Fcapture.ts

This shouldn't have been closed - there is clearly an open issue in detecting the encoding of DVB descriptor text fields.

Thanks for the stream capture @fjbf - it was very helpful. This issue is actually fixed now, until someone else says otherwise ;-) Fix merged to master branch.

fjbf commented

Thanks!!! Now is working well. I can see a extrange character in some channels at the end of the text but is not a problem for me. When i have a moment I attach a stream capture I you want to fix it.

Actually, @fjbf , I see those same extra characters at the end of some of the text fields in your stream. It's a U+008A character. I'm not sure what it's for, but when I try to strip it away, it breaks other languages. For example:

"Crónica de lo que sucedió en el Parkland Hospital, de Dallas, el día en el que dispararon al presidente John F. Kennedy.��"}