[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Synaptic-devel] Download window not showing proper UTF-8 code
From: |
Michael Vogt |
Subject: |
Re: [Synaptic-devel] Download window not showing proper UTF-8 code |
Date: |
Wed, 22 Jan 2003 22:51:48 +0100 |
User-agent: |
Mutt/1.5.3i |
On Tue, Jan 21, 2003 at 03:49:37PM +0300, Sviatoslav Sviridov wrote:
> > > - when local package is newer or does not exist in repository, then
> > > description of rpm packages retreived in current locale. but to
> > > display it in Description window it should be in UTF8. I tried to
> > > use iconv() for convert strings - it works. (it seems that other way
> > > is to set locale with UTF8 enconding before calling functions where
> > > package information retreived from rpm packages, but it didn't work
> > > for me (may be I did something wrong)).
> >
> > Does the glib function g_locale_to_utf8() help you here?
> >
> > > When I complete patch - I'll send it here.
> >
> > Please do so.
>
> The patch is attached, please take a look.
> Thank you for tip about g_locale_to_utf8(), but, as I had implemented
> conversion with iconv, I only added functionality for using
> g_locale_to_utf8(). Now g_locale_to_utf8() used by default (hardcoded).
> On 4100 packages it seems no big difference in speed, may be you can
> compare on bigger repository.
Thanks Sviatoslav, I tested the patch and applied it then. It works fine.
Any other problem left? If not, we can make a new release :)
bye,
Michael
--
GPG Fingerprint = EA71 B296 4597 4D8B 343E 821E 9624 83E1 5662 C734
You Know You've Been Playing Too Much Nethack When...
You look both ways down the corridor, start to sweat...
then realise you're looking at your EMail address
- Re: [Synaptic-devel] Download window not showing proper UTF-8 code, (continued)
- Re: [Synaptic-devel] Download window not showing proper UTF-8 code, Michael Vogt, 2003/01/20
- Re: [Synaptic-devel] Download window not showing proper UTF-8 code, Mathieu Roy, 2003/01/20
- Re: [Synaptic-devel] Download window not showing proper UTF-8 code, Michael Vogt, 2003/01/20
- Re: [Synaptic-devel] Download window not showing proper UTF-8 code, Mathieu Roy, 2003/01/21
- Re: [Synaptic-devel] Download window not showing proper UTF-8 code, Michael Vogt, 2003/01/21
- Re: [Synaptic-devel] Download window not showing proper UTF-8 code, Michael Vogt, 2003/01/21
- Re: [Synaptic-devel] Download window not showing proper UTF-8 code, Sviatoslav Sviridov, 2003/01/20
- Message not available
- Re: [Synaptic-devel] Download window not showing proper UTF-8 code, Michael Vogt, 2003/01/21
- Re: [Synaptic-devel] Download window not showing proper UTF-8 code, Sviatoslav Sviridov, 2003/01/21
- Re: [Synaptic-devel] Download window not showing proper UTF-8 code, Sviatoslav Sviridov, 2003/01/21
- Re: [Synaptic-devel] Download window not showing proper UTF-8 code,
Michael Vogt <=
- Re: [Synaptic-devel] Download window not showing proper UTF-8 code, Sviatoslav Sviridov, 2003/01/23
- Re: [Synaptic-devel] Download window not showing proper UTF-8 code, Michael Vogt, 2003/01/23