[MPlayer-dev-eng] [PATCH]Fix subcp crash(hopefully)

D Richard Felker III dalias at aerifal.cx
Tue Jan 14 19:39:55 CET 2003


On Tue, Jan 14, 2003 at 02:36:58PM -0300, Salvador Eduardo Tropea wrote:
> ?????? wrote:
> 
> >Hi,
> >On Wednesday 15 January 2003 00:08, Salvador Eduardo Tropea wrote:
> >
> > 
> >
> >>Then we could do the iconv convertion to a temporal buffer and do the
> >>remove.
> >>This is need by other formats also.
> >>   
> >>
> >
> >But I don't think do iconv first is better, since it convert all the 
> >codepage to utf-8. Maybe the orignal codepage could be better for 
> >eliminate those {}s.
> >
> No if you convert the UTF-8 into an Unicode 16 bits buffer.
> This is easy to do.

No point. { elimination in UTF-8 is just as easy because UTF-8 doesn't
share the brain damage of most variable-length/multibyte encodings.

Rich



More information about the MPlayer-dev-eng mailing list