Public bug reported:

I tried everything to get UTF-8 locales working with XLib but it seems
to be borked.

locale -a returns this :

[EMAIL PROTECTED]:/usr/share/X11/locale$ locale -a
C
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZW.utf8
POSIX

When I try LC_ALL=C xterm , Xlib doesn't complaint.
On trying other non UTF-8 locales such as POSIX, en_IN Xlib doesn't complaint.
But on trying any UTF-8 locale it complains.

[EMAIL PROTECTED]:/usr/X11R6/lib/X11/locale$ LC_ALL=C xterm
[EMAIL PROTECTED]:/usr/X11R6/lib/X11/locale$ LC_ALL=en_IN xterm
[EMAIL PROTECTED]:/usr/X11R6/lib/X11/locale$ LC_ALL=en_US.utf8 xterm
Warning: locale not supported by Xlib, locale set to C
[EMAIL PROTECTED]:/usr/X11R6/lib/X11/locale$ LC_ALL=en_AU.UTF-8 xterm
Warning: locale not supported by Xlib, locale set to C
[EMAIL PROTECTED]:/usr/X11R6/lib/X11/locale$ locale -a

BTW I found a funky piece of text in /usr/share/X11/locale/locale.dir :

# Note: The UTF-8 locales don't work correctly yet. Work in progress.

Is this a bug in upstream X11 libs or an ubuntu problem?

** Affects: libx11 (Ubuntu)
     Importance: Untriaged
         Status: Unconfirmed

** Summary changed:

- XLib locales seem to be borked.
+ XLib locales seem to be borked on Edgy.

-- 
XLib locales seem to be borked on Edgy.
https://launchpad.net/bugs/56456

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to