Hi! Has it occured to Mercury folks to use the glib library for unicode support? See here: https://developer.gnome.org/glib/2.62/glib-Unicode-Manipulation.html Interfacing to glib would probably be easy. Cheers Volker