The more modern interface is iconv(3).

Here is the basic algorithm. The right implementation adds what is known as a 
header format extension to convert the encoding of any output displayed by rpm 
--query (aka headerSprintf() ...).

hth

[iconv.code.gz](https://github.com/rpm-software-management/rpm/files/1146620/iconv.code.gz)




-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/250#issuecomment-315197780
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to