Fix StringCharMapping
key order dependency
#2984
Merged
StringCharMapping
key order dependency
#2984