gchar instead of guchar for resource mime