report display oddity
Derek Atkins
warlord at MIT.EDU
Tue Jan 28 09:40:04 CST 2003
Interesting... If I set my LANG to en_GB.UTF8, I can reproduce this
error. I also get the following:
Gdk-WARNING **: locale not supported by Xlib, locale set to C
Feel free to submit a bug report under UI-general (because this
affects the currency symbol everywhere, not just in reports).
In the short term you can probably just sent the LANG in your .profile
or .cshrc file. In the longer term we should figure out why the UTF8
lang causes this problem (note that it could be a bug in the locale
specification -- or it could be a bug in handling the UTF8).
-derek
Alistair Hill <alistair.hill at blueyonder.co.uk> writes:
> If I do 'env' it tells me that LANG=en_GB.UTF-8, I guess that this is
> set in a config by the redhat installation. The only language I have
> installed is GB English.
>
> I set the default currency in the GnuCash preferences!
>
> Which file holds the LANG variable? I did some hunting yesterday and
> could not find it.
>
> Alistair
>
> On Mon, 2003-01-27 at 16:32, Derek Atkins wrote:
> > Oh.. Uhh.. What LANG were you using before? (How had you set
> > the default currency to GBP?)
> >
> > FTR, I've got gtkhtml-1.0.2.
> >
> > -derek
> >
> > Alistair Hill <alistair.hill at blueyonder.co.uk> writes:
> >
> > > I tried a number of reports and it is the same withh all
> > >
> > > Doing 'rpm -qa |grep gtkhtkl' gives the following:
> > >
> > > gnome-python2-gtkhtml2-1.99.11-8
> > > libgtkhtml20-1.0.4-6.ximian.1
> > > gtkhtml1.1-1.1.7-1.ximian.2
> > > gtkhtml2-2.0.1-2
> > > libgtkhtml1.1-3-1.1.7-1.ximian.2
> > >
> > > as you suggest running with 'env LANG=en_GB gnucash' solves the problem
> > > so I have changed my launcher and all is OK
> > >
> > > Alistair
> > >
> > > On Mon, 2003-01-27 at 14:40, Derek Atkins wrote:
> > > > Hmm, I cannot reproduce this problem here. What version of gtkhtml
> > > > are you using? Also which report are you using? It looks like you're
> > > > using the Cash Flow report, but when I run with "env LANG=en_GB
> > > > gnucash" and run a cash-flow report, I don't see any extraneous
> > > > characters. Indeed, "Export"ing the report shows the following HTML,
> > > > which looks right to me:
> > > >
> > > > Money In
> > > > </TD>
> > > > <TD BGCOLOR="#ffffff" ALIGN="right">
> > > > <FONT SIZE="3"><B>£0.00</FONT></B>
> > > >
> > > > -derek
> > > >
> > > > Alistair Hill <alistair.hill at blueyonder.co.uk> writes:
> > > >
> > > > > My default currency is GBP, looking at your reply I am not sure the
> > > > > pound symbol came through in my mail but reports do show it.....
> > > > >
> > > > > Money In Ã<pound symbol>168.68
> > > > >
> > > > > Alistair
> > > > >
> > > > > On Sun, 2003-01-26 at 20:10, Derek Atkins wrote:
> > > > > > What is your "default report currency"? I suspect this might be
> > > > > > related to GtkHtml incorrectly converting the currency symbol, or
> > > > > > incorrectly interpretting it...
> > > > > >
> > > > > > -derek
> > > > > >
> > > > > > Alistair Hill <alistair.hill at blueyonder.co.uk> writes:
> > > > > >
> > > > > > > I am getting unwanted characters in the report display, snippet
> > > > > > > follows....
> > > > > > >
> > > > > > > Money In Å168.68
> > > > > > > Money Out
> > > > > > > Money Out Å0.00
> > > > > > > Difference Å168.68
> > > > > > >
> > > > > > > How can I get rid of the Ä?
> > > > > > >
> > > > > > > Originally saw this in 1.6.8. and have just installed 1.7.8 with the
> > > > > > > same result, running RH 8.0
> > > > > > >
> > > > > > > Apologies if this has been done to death before, please point me at the
> > > > > > > right thread if it has
> > > > > > >
> > > > > > > --
> > > > > > > Alistair Hill <alistair.hill at blueyonder.co.uk>
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > > gnucash-devel mailing list
> > > > > > > gnucash-devel at lists.gnucash.org
> > > > > > > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> > > > > --
> > > > > Alistair Hill <alistair.hill at blueyonder.co.uk>
> > > > >
> > > --
> > > Alistair Hill <alistair.hill at blueyonder.co.uk>
> > >
> --
> Alistair Hill <alistair.hill at blueyonder.co.uk>
>
--
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