Bug 21 - fix for setfondirs which makes invalid xml on l18n systems.
Summary: fix for setfondirs which makes invalid xml on l18n systems.
Status: RESOLVED FIXED
Alias: None
Product: fontconfig
Classification: Unclassified
Component: library (show other bugs)
Version: 2.1
Hardware: x86 (IA32) other
: high normal
Assignee: Keith Packard
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-05 18:01 UTC by sylvain pasche
Modified: 2003-02-04 23:43 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description sylvain pasche 2003-02-05 18:01:31 UTC
On my system, date returns "fév" for february.
The accent makes libxml shout "invalid xml" and fontconfig does not initialize.
The fix is simple:

 #
 # $XFree86: xc/lib/fontconfig/setfontdirs,v 1.4 2002/08/01 16:17:33 keithp Exp $
 #
-LANG=C
-export LANG
+LC_ALL=C
+export LC_ALL
 FONTDIRS=fontdirs$$
 trap "rm $FONTDIRS" 0
 sh ./findfonts ${1+"$@"} > $FONTDIRS
Comment 1 Keith Packard 2003-02-05 18:27:47 UTC
Current CVS already has this fix.
Comment 2 sylvain pasche 2003-02-05 18:43:56 UTC
Ah, sorry me, I should have checked that. I did not thought latest garnome
fontconfig was not so fresh ;-)

Cheers


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.