Public bug reported:

Binary package hint: libx11-data

The Esperanto locale is broken in Ubuntu Ubuntu-8.10 Intrepid.  It was already 
broken in
previous releases, I can't remember when the regression was introduced, but at 
least
Ubuntu-8.04.1 was also affected. I initially reported this as comment in bug 
#83142, but
in hindsight, it might be a different issue so I open this new bug.

When setting my locale to eo_XX.UTF-8, I noticed several bugs, at least those
3 problems:

* the compose key does not work at all.
* vim-7.1.314 from Ubuntu-8.10 crashed (segfault) when using X clipboard with 
visual selection.
  This bug is discussed in more details in vim mailing list, see:
   http://groups.google.com/group/vim_dev/browse_thread/thread/55612319d5c737ca
* gnome-terminal worked but xterm defaulted to "C" locale.

These 3 bugs only happen because eo_XX.UTF-8 locale in Ubuntu is broken.
Changing locale to en_US.UTF-8 or fr_FR.UTF-8 for example makes everything work.

It is easy to fix:  I see that the Esperanto settings in files 
/usr/share/X11/locale/locale.dir
and /usr/share/X11/locale/compose.dir are commented out (!?) Uncommenting them
resolves all 3 problems.

-> Please uncomment those lines. I've been using it with the fix without
problems.

Ubuntu works fine with the eo_XX.UTF-8 uncommented out and it
fixes the 3 issues I described.

I think the only reasons those line were commented out is because
someone did check for non existing country codes and stumbled
upon XX.

But this change was incorrect, since it breaks havoc the Esperanto locale,
and it was probably not well reviewed, since the comment even included
a typo (*Esperato* instead of Esperanto)

The country code XX should be OK, see:

http://unicode.org/reports/tr35/tr35-6.html

... and search for territory_code, twice, and you will see that XX is a
code allowed for private use, which is the case, since Esperanto is a
language that doesn't necessary belong to a specific territory.

To quote the page: "The private use codes from XA..XZ will never be
used by CLDR, and are thus safe for use for other purposes by
applications using CLDR data."

I see that Debian Lenny/sid also has the same bug.

But unlike Ubuntu or Debian, I see that in the file 
/usr/share/X11/locale/locale.dir
on OpenSUSE-11.0 is fine: the Esperanto locale settings are *not* commented out.

Attached is the patched /usr/share/X11/locale/locale.dir and
/usr/share/X11/locale/compose.dir files. Please notice:

* esperanto setting uncommented
* some colon characters removed

The offending package should be libx11-data:

$ dpkg --search /usr/share/X11/locale/locale.dir
libx11-data: /usr/share/X11/locale/locale.dir

** Affects: libx11 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Esperanto locale broken
https://bugs.launchpad.net/bugs/304680
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to