[Buildroot] [PATCH] dtv-scan-tables: rename file to have only ASCII characters

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Nov 14 21:12:35 UTC 2016


Hello,

On Mon, 14 Nov 2016 22:10:24 +0100, Yann E. MORIN wrote:

> At first, I was not very happy about this, because the filename is also
> displayed to the user, so it would make sense to keep localised names.
> 
> However, you are right that there is no standard way to encode
> filenames, so this is not very reliable to depend on the filename to
> provide a user-visible representation of the city/country/... Instead,
> the location should be encoded in the file itself, possibly using the
> filename as a ascii-only fallback.

There are already many many other files that should have non-ASCII
characters to accurately represent the name of the city or region, but
that don't have them. From the commit log of the patch I just sent
upstream:

  - pl-Wroclaw should be written pl-Wrocław
  - se-Laxsjo should be written se-Laxsjö
  - de-Dusseldorf should be written de-Düsseldorf
  - vn-Thaibinh should be written vn-Thái_Bình

> > +	mv $(TARGET_DIR)/usr/share/dvb/dvb-t/pl-Krosno_Sucha* \
> > +		$(TARGET_DIR)/usr/share/dvb/dvb-t/pl-Krosno_Sucha_Gora  
> 
> Can't you do that in a post-extrat or post-patch hook?

Sure, v2 coming.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the buildroot mailing list