RFC2047 and SetLocale from imported packages

Signed-off-by: Fam Zheng <famz@redhat.com>