[vlc-devel] commit: EPG: Catch a replace EIT-coded CR/LFs ( Marian Ďurkovič )
remi at remlab.net
Mon Sep 14 20:03:21 CEST 2009
Le lundi 14 septembre 2009 20:37:17 Marian Ďurkovič, vous avez écrit :
> > > EPG: Catch a replace EIT-coded CR/LFs
> > I disagree with it. The CR/LF helps to present texts. Now if it is a
> > display bug of qt4, it probably should be changed directly in qt4 and
> > not at a so low level.
> This commit solves another problem. The spec says, CR/LF is encoded not
> as CR/LF, but as 0x8A. After conversion to UTF-8, it's 0xC2 0x8A. Such
> sequence is bogus and can not be left untouched.
Are you sure all the supported character sets include the ISO-8859 extended
control characters? If not, \x8A might not be understood as U+008A.
It sounds like we should simply convert \x86 to \n _before_ iconv().
More information about the vlc-devel