add scope to parameters of toUTF32 and toUTFImpl
#8109
Merged
scope to parameters of toUTF32 and toUTFImpl
#8109