- changed technique to ensure UTF-8 string in ruby (bnc#848812)