The node you are looking for is at
stringprep_locale_to_utf8
.