labelWidgetClass encoding XawTextEncodingChar2b is broken
Submitted by Ray Chason
Assigned to Xorg Project Team
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:
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":
Version: 7.7 (2012.06)