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

Derek Atkins warlord at MIT.EDU
Tue Oct 18 16:25:20 EDT 2005


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
>
>

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list