[Gnucash-changes] Add commented-out workaround for utf8.

Christian Stimming cstim at cvs.gnucash.org
Mon Oct 17 15:59:43 EDT 2005


Log Message:
-----------
Add commented-out workaround for utf8.

2005-10-17  Christian Stimming  <stimming at tuhh.de>

	* src/bin/generate-gnc-script: Add a commented-out workaround for
	UTF-8 problems, as proposed by Didier Vidal. To use this
	workaround, uncomment the designated line in this file before
	build.

Tags:
----
gnucash-1-8-branch

Modified Files:
--------------
    gnucash:
        ChangeLog
    gnucash/src/bin:
        generate-gnc-script

Revision Data
-------------
Index: ChangeLog
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/ChangeLog,v
retrieving revision 1.1461.2.426
retrieving revision 1.1461.2.427
diff -LChangeLog -LChangeLog -u -r1.1461.2.426 -r1.1461.2.427
--- ChangeLog
+++ ChangeLog
@@ -1,3 +1,10 @@
+2005-10-17  Christian Stimming  <stimming at tuhh.de>
+
+	* src/bin/generate-gnc-script: Add a commented-out workaround for
+	UTF-8 problems, as proposed by Didier Vidal. To use this
+	workaround, uncomment the designated line in this file before
+	build.
+
 2005-10-16  Christian Stimming  <stimming at tuhh.de>
 
 	* po/glossary/pl.po: Added polish glossary by A. Tokarski
Index: generate-gnc-script
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/bin/generate-gnc-script,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -Lsrc/bin/generate-gnc-script -Lsrc/bin/generate-gnc-script -u -r1.2 -r1.2.2.1
--- src/bin/generate-gnc-script
+++ src/bin/generate-gnc-script
@@ -15,6 +15,10 @@
 GUILE_WARN_DEPRECATED="no"
 export GUILE_WARN_DEPRECATED
 
+## Uncomment the following line if gnucash 
+## shows weird characters in utf8-locales:
+#(echo \$LANG | grep  UTF-8 > /dev/null ) &&  LANG=\`echo \$LANG | sed s/\.UTF-8//\`
+
 exec "${TARGET_SCRIPT}" "\$@"
 EOF
 


More information about the gnucash-changes mailing list