[PATCH] gen_wc8bit: use a configurable UTF-8 locale

Daniel Cordero theappleman at gmail.com
Sun Jun 28 18:25:03 UTC 2009


On Sun, Jun 28, 2009 at 01:51:31PM -0400, Mike Frysinger wrote:
> On Sunday 28 June 2009 13:42:00 Mike Frysinger wrote:
> > On Monday 01 June 2009 13:40:16 Daniel Cordero wrote:
> > > In some situations, the en_US.UTF-8 locale is not available (e.g. the
> > > user does not have it installed).
> > > Make a new option in the configuration for the user to specify an
> > > alternative.
> >
> > seems like something the user shouldnt need to worry about.  how about if
> > the default of en_US.UTF8 doesnt work, we popen("locale -a") and try each
> > one listed there with ".UTF8" appended to it.

On reflection, that does sound like a better solution.

> 
> try the following patch please
> 

This fixes the problem. Thanks.



More information about the uClibc mailing list