The node you are looking for is at stringprep_utf8_to_locale.