Problem with swedish characters

Derek Atkins warlord at MIT.EDU
Mon Feb 13 09:39:30 EST 2006


This reply should have gone to gnucash-user.  I'm forwarding it
there...

-derek

Fredrik Persson <frepe at bredband.net> writes:

> Yes, I'm aware of the 1.9.0 release and the upcoming 2.0 release. 1.9.0 is not an option, since it is beta. Waiting for 2.0 is not an option, neither, since it can take years before it's out.
>
> And I KNOW this can be solved! I started using gnucash on Debian ages ago. Then I switched to Gentoo, took my gnucash file with me, and had this swedish-character-problem, but I managed to solve it then. I did that my running gnucash with LC_ALL=sv_SE instead of LC_ALL=sv_SE.UTF-8, but that doesn't work this time. 
>
> I'll gladly switch to 2.0 once it's finished but in the meantime I need to fix 1.8.10.
>
> /Fredrik Persson
>
>
>
>> 
>> From: Derek Atkins <warlord at MIT.EDU>
>> Date: 2006/02/12 sö PM 06:33:41 CET
>> To: Fredrik Persson <frepe at bredband.net>
>> CC: gnucash-user at gnucash.org
>> Ämne: Re: Problem with swedish characters
>> 
>> gtk-1 is pretty poor about internationalization..  You might want to wait
>> for gnucash-2.0.  The 1.9.0 alpha release was just made last weekend, so
>> we're on the road to 2.0 really soon.
>> 
>> I suspect this problem is a mismatch of iso-8859-1 and UTF8.
>> 
>> Unfortunately gnucash-1.8 is REALLY BAD about encodings.  :(
>> 
>> -derek
>> 
>> Quoting Fredrik Persson <frepe at bredband.net>:
>> 
>> > Hello!
>> >
>> > I've googled around for solutions to this problem, without finding
>> > anything really useful.
>> >
>> > I'm having severe problems with the swedish characters åäö, ÅÄÖ in
>> > 1.8.10. (Can't tell if this exists on 1.8.12 as well, can't build
>> > that thing on Ubuntu.)
>> >
>> > Here are a few screenshots to explain the problem:
>> >
>> > 1. The characters åäö ÅÄÖ works fine when it comes to account names,
>> > as can be seen here:
>> >
>> > http://server4.pictiger.com/img/31475/picture-hosting/account-name-works.jpg
>> >
>> > 2. The characters åäö ÅÄÖ does NOT work in entries properly, but they
>> > DO work in the bottom of the window. I don't know what that is
>> > called, but it is clear from this screenshot:
>> >
>> > http://server4.pictiger.com/img/31476/picture-hosting/entry-does-now-work.jpg
>> >
>> > I started gnucash with non-UTF8 locale like so:
>> >
>> > LC_ALL=sv_SE gnucash
>> >
>> > ... because my regular locale is en_US.UTF-8 and if I don't do this,
>> > no swedish characters are shown at all, and I get a LOT of error
>> > messages when I start gnucash:
>> >
>> > Error: gnc_mbstowcs: bad multi-byte conversion
>> > Error: gnc_quickfill_insert: bad text conversion
>> >
>> > What can I do? Is there anything I *can* do?
>> >
>> > Thanks!
>> >
>> > /Fredrik Persson

-- 
       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-user mailing list