libX11 UTF-8 locale support is dead

Bug #10224 reported by Vincent Carriere
74
Affects Status Importance Assigned to Milestone
libx11 (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

If you type a letter with an accent (é à ê...) in openoffice nothing appears.

Ubuntu version : Hoary
Openoffice version: 1.1.2-2ubuntu6

vincent@ubuntu:~$ cat /etc/locale.gen
fr_FR.ISO-8859-1 ISO-8859-1
fr_FR.UTF-8@euro UTF-8
fr_FR UTF-8

vincent@ubuntu:~$ locale
LANG=fr_FR
LC_CTYPE="fr_FR"
LC_NUMERIC="fr_FR"
LC_TIME="fr_FR"
LC_COLLATE="fr_FR"
LC_MONETARY="fr_FR"
LC_MESSAGES="fr_FR"
LC_PAPER="fr_FR"
LC_NAME="fr_FR"
LC_ADDRESS="fr_FR"
LC_TELEPHONE="fr_FR"
LC_MEASUREMENT="fr_FR"
LC_IDENTIFICATION="fr_FR"
LC_ALL=

Revision history for this message
Sebastien Bacher (seb128) wrote :

same problem here in UTF-8, works fine in iso8859-15, probably this X.Org/utf-8
locale problem
(there is some copy/paste problem with gtk+1.2 apps too)

Revision history for this message
Daniel Stone (daniels) wrote :

Will investigate, but this is hairy and complex. If anyone has any insights,
please feel free to share them.

Revision history for this message
Vincent Carriere (v.carriere) wrote :

*** Bug 10294 has been marked as a duplicate of this bug. ***

Revision history for this message
Sylvain Defresne (sdefresne) wrote :

I don't know if it come from X.org since I have the same problem
with warty and xfree 4.3.

Revision history for this message
Colin Watson (cjwatson) wrote :

*** Bug 10332 has been marked as a duplicate of this bug. ***

Revision history for this message
Bastian Doetsch (bastian-doetsch) wrote :

FYI: got this with the german locale as well.

Revision history for this message
Daniel Stone (daniels) wrote :

I've tracked down the problem to a specific set of code deltas, and am just
running through some test builds to see if I can't manage to fix it.

Revision history for this message
Daniel Stone (daniels) wrote :

*** Bug 10289 has been marked as a duplicate of this bug. ***

Revision history for this message
Daniel Stone (daniels) wrote :

*** Bug 10386 has been marked as a duplicate of this bug. ***

Revision history for this message
Daniel Stone (daniels) wrote :

*** Bug 9813 has been marked as a duplicate of this bug. ***

Revision history for this message
Daniel Stone (daniels) wrote :

The bug is due to a change in /usr/X11R6/lib/X11/locale/en_US.UTF-8/XLC_LOCALE
-- if you drop the attached file in to replace this, all your issues should be
gone, gone, gone.

Revision history for this message
Daniel Stone (daniels) wrote :

Created an attachment (id=779)
fixed en_US.UTF-8

replacement for /usr/X11R6/lib/X11/locale/en-US.UTF-8/XLC_LOCALE; should work
for UTF-8 English locales

Revision history for this message
Teo Ruiz (teo) wrote :

(In reply to comment #12)
> Created an attachment (id=779) [edit]
> fixed en_US.UTF-8
>
> replacement for /usr/X11R6/lib/X11/locale/en-US.UTF-8/XLC_LOCALE; should work
> for UTF-8 English locales

Cool!. Now, as every guy of every language will ask, what about the other
locales? ;-)

Revision history for this message
Tiziano Tissino (t-tissino) wrote :

(In reply to comment #12)
> Created an attachment (id=779) [edit]
> fixed en_US.UTF-8
>
> replacement for /usr/X11R6/lib/X11/locale/en-US.UTF-8/XLC_LOCALE; should work
> for UTF-8 English locales
I just installed the latest x.org packages (version 6.8.1-1ubuntu3) but still
OOo and other programs don't
work with UTF-8 Chars (my locale is it_IT).

Revision history for this message
Matthias Urlichs (smurf) wrote :

Workaround, for the impatient:

env $(printenv|sed -ne 's,\.UTF-8,,p') oowriter

NB: I dimly remember that this bug was fixed in Sarge ... but I could be mistaken.

Revision history for this message
Daniel Stone (daniels) wrote :

*** Bug 10765 has been marked as a duplicate of this bug. ***

Revision history for this message
Teo Ruiz (teo) wrote :

(In reply to comment #15)
> Workaround, for the impatient:
>
> env $(printenv|sed -ne 's,\.UTF-8,,p') oowriter

This works for "ñ" but not for accented vowels.

Revision history for this message
Daniel Stone (daniels) wrote :
Download full text (3.3 KiB)

xorg (6.8.1-1ubuntu4) hoary; urgency=low

  * Remove debian/patches/099d*, as it broke UTF-8 locale handling and didn't
    actually fix the xterm manpage at all (closes: Ubuntu#3645).

  * Add patches stolen from the X.Org 6.8.x branch, including:
    + Perform soft resets right on non-r3xx (fd.o#988).
    + Prevent segfault in GLX on certain GL versions (fd.o#1672).
    + Fix server crash when unsetting screensaver attributes (fd.o#1695).
      (fd.o#591).
    + Prevent conflict with certain #defined constants (bool) in xf86cfg
      (fd.o#557).
    + Drag nVidia driver back from XFree86 (via X.Org HEAD) with more hardware
      support, fix for DPMS issues, PCI-Xpress support, DPMS on DVI, cursor
      fixes for NV11, proper console restoration, and Xv syncing on vblank
      (fd.o#1777).
    + Fix a stack overflow in XKB handling within libX11 (fd.o#1459).
    + Fix xmodmap stack overflow (fd.o#1818).
    + Fix from myself to fix panel size derivation when stretching is enabled
      (fd.o#1881, Ubuntu#1218).
    + Include server control keys in macintosh/us XKB definition (fd.o#1872).
    + Actually reset DPMS timer on input (fd.o#792, Ubuntu#3614).
    + Move all the fixes from #000 Fedora to this patch, as they have since
      been approved for 6.8.2.
    - New: debian/patches/000_stolen_from_6.8_branch.diff
    - Removed: debian/patches/000_stolen_from_fedora.diff
    + Large patch from Ben Herrenschmidt rejigging the detection logic for
      many ATI cards; see annotation in patch. Note that this is not yet
      committed, so this patch is subject to change and hasn't yet been folded
      into _6.8_branch.diff. This patch obsoletes #099m.
      - New: debian/patches/000_stolen_from_6.8_branch_benh_ati.diff
      - Updated:
      debian/patches/024_ati_r128_and_radeon_enable_build_without_vgahw.diff
      - Removed: debian/patches/099m_radeon_fwpll_support.diff

  * Remove interrupt handler completely on exit so we don't get lockups
    (closes: Ubuntu#2411).
    + New: debian/patches/025_r128_remove_interrupt_handler.diff

  * Add 1440x900 @ 100Hz modeline for 17" Apple iMacs (closes: Ubuntu#3712).
    + Updated: debian/xserver-xorg.templates,
      debian/989_ubuntu_add_extra_modelines_from_xorg.diff

  * Stop writing out HorizSync and VertRefresh lines to xorg.conf; if it can
    be detected by DDC, then let the driver do that instead of tying us to a
    specific monitor, and if we need to calculate it from the resolution, then
    it's a driver bug that needs fixing.
    + Updated: debian/local/dexconf.

  * First cut at proper ia64 control files (closes: Ubuntu#3817).
    + Updated: debian/MANIFEST.ia64.in, debian/xserver-xorg.install.ia64,
      debian/xlibmesa-dri.install.ia64, debian/xlibmesa-dri-dbg.install.ia64,
      debian/xserver-xorg.docs.ia64

  * Stop shipping damage.h, which is an old preliminary cut at the Damage
    client API; superseded by Xdamage.h.
    + Updated: MANIFEST.*.in, libxdamage-dev.install.

  * Fix link name (Xres->XRes) in libxres1.

  * Make libx11-dev Depend on libxkbfile-dev, and libxp-dev on libxau-dev, as
    they use files from these libraries.

  * Add dmxext.h and dmxproto.h to libdmx...

Read more...

Revision history for this message
Daniel Stone (daniels) wrote :

as above)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.