[prev in list] [next in list] [prev in thread] [next in thread]
List: rpmorg-list
Subject: Re: rpm query output format question ...
From: Dhananjay Bhandari <bhandari_dhananjay () yahoo ! com>
Date: 2006-02-02 21:31:28
Message-ID: 20060202213128.39987.qmail () web33512 ! mail ! mud ! yahoo ! com
[Download RAW message or body]
Oh, so then how can I make sense out of what I am reading from
"rpm -qia" command when I do not have control over locale setting.
What do you suggest ?
Because, I just now tried setting locale to ja_JP.eucjp, and rpm did not output
in utf-8 format.
Regards.
--- Jeff Johnson <n3npq.jbj@gmail.com> wrote:
>
> On Feb 2, 2006, at 3:57 PM, Dhananjay Bhandari wrote:
>
> > Hi,
> > I am trying to use rpm package on different locales.
> > I have noticed that rpm uses UTF-8 format to output query result,
> > but how can
> > I be sure that irrespective of locale or default charset encoding
> > set, rpm will
> > always output query results in UTF-8 form.
> > I have to process the data output by rpm, hence if I mess up in
> > understanding
> > the encoding format rpm has used, then data gets garbled.
> >
>
> rpm data is not guaranteed to be encoded in any format.
>
> rpm-4.4.4 has an implementation that imposes utf-8 encoding for
> changelogs.
>
> If that conversion to utf-8 is successful, then utf-8 encoding will
> be imposed on all string data
> within rpm headers.
>
> But deploying a version of rpm that imposes utf-8 encoding is almost
> certainly going to take years and years.
>
> 73 de Jeff
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@redhat.com
> https://www.redhat.com/mailman/listinfo/rpm-list
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic