Added locale_from_utf8, dropped the glib dependency.