labelWidgetClass encoding XawTextEncodingChar2b is broken
Submitted by Ray Chason
Assigned to Xorg Project Team
Description
Created attachment 63651 Patch to labelWidgetClass to fix XChar2b encoding, ported from xfree86
When encoding XawTextEncodingChar2b is set on a label widget, the widget determines the string length incorrectly, using strlen instead of examining the XChar2b elements.
The corresponding bug is fixed in xfree86:
http://bugs.xfree86.org/show_bug.cgi?id=1606
I have ported the xfree86 patch to the 7.7 release and attached it here, and confirmed that it fixes the bug.
Patch 63651, "Patch to labelWidgetClass to fix XChar2b encoding, ported from xfree86":
libXaw-label.patch
Version: 7.7 (2012.06)