[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#603914: Please drop non-UTF8 locales



On Sat, Nov 27, 2010 at 01:23:29PM +0200, Kalle Olavi Niemitalo wrote:
> Josselin Mouette <joss@debian.org> writes:
> 
> > I think wheezy would be a good time to finally ditch non-UTF8 locales. 
> > IIRC, we made the switch to UTF8 by default in etch (and we were already 
> > way too late in doing that), and supporting non-UTF8 stuff becomes 
> > harder and harder, at least for desktop software.
> 
> In testing, the C and POSIX locales still don't use UTF-8.
> I don't know about unstable.

They don't.  But, see #522776.  There's nothing preventing them
being switched to UTF-8 from ASCII; it doesn't break any of the
C, POSIX or SUS standards and some operating systems (HP-UX)
already do this.

It's certainly something I'd like to see done.  It solves a number
of annoying encoding and localisation issues, and it gives us UTF-8
support by default from end-to-end through the entire Debian system.

Like the existing C locale, it would require hard-coding into libc,
which I've tried doing but lack the detailed knowledge of glibc
internals to do it properly.  One issue is that the UTF-8 charmap
should not be duplicated for each separate locale; currently it
appears as though each locale needlessly has its own copy!  We would
want to share it given its size.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: signature.asc
Description: Digital signature


Reply to: