Original commit message from CVS: make tag encoding use utf-8. Use glib functions for character conversion