[Gnucash-changes] Add commented-out workaround for utf8.
Didier Vidal
didier-devel at 9online.fr
Tue Oct 18 16:55:41 EDT 2005
>From this thread on a debian mailing list, the sed on LAGUAGE should
then be sed -e "s/.UTF-8$//g ; since LANGAGE can apparently contain a
semi column separated list of languages.
http://lists.debian.org/debian-glibc/2005/05/msg00219.html
However, the patch is meant to be uncommented, so the user will have
open the file and edit it. Maybe the best way would be to explain that
he can replace LANG by LANGUAGE in a comment, and to keep the number of
lines to uncomment small.
Didier.
Le mar 18/10/2005 à 22:25, Derek Atkins a écrit :
> I'm wondering if we should use Jon Lapham's suggestion instead
> of this one? I think it would work on more distributions, as
> some use LANG and some use LANGUAGE...
>
> http://www.gnucash.org/pipermail/gnucash-devel/2003-September/010418.html
>
> Just my $0.02.
>
> -derek
>
> Christian Stimming <cstim at cvs.gnucash.org> writes:
>
> > 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
> >
> > _______________________________________________
> > gnucash-changes mailing list
> > gnucash-changes at gnucash.org
> > https://lists.gnucash.org/mailman/listinfo/gnucash-changes
> >
> >
More information about the gnucash-devel
mailing list