Converts a string into a collation key that can be compared with other collation keys produced by the same function using strcmp.
Note that this function depends on the current locale.
a UTF-8 encoded string.
a newly allocated string. This string should be freed with g_free when you are done with it.