Hi,

On 29/08/16 at 12:34 +0200, Tomasz Nitecki wrote:
> Hey Lucas,
> 
> On 28/08/16 17:10, Nicolas Braud-Santoni wrote:
> > Package: how-can-i-help
> >
> > I noticed that how-can-i-help fails to display properly bug titles when
> > they contain non-ASCII characters:
> > 
> >>  - piuparts - <CUT> to test upgrades from wheezy to sid using local 
> >> pac?ages
> 
> Recently, Nicolas filled a bug against how-can-i-help pointing out that
> we convert all the non-ASCII characters into '?'. Looking at the UDD
> script [1], I can tell that we are performing this conversion
> intentionally (force_ascii method) on most title and descriptions
> fields. I have two questions:
> 
> 1. Why was this forced conversion added? To sanitize output and to
> prevent formating errors?

Yes. The bugs data contains lots of non-UTF-8 characters.

> 2. Shouldn't it be applied to all title and description fields?

yes probably.

Maybe it should be modified to force-convert to valid UTF-8 instead of
ASCII though.
 
Lucas

Reply via email to