translate-region-internal

translate-region-internal is a built-in function in `C source code'.

(translate-region-internal START END TABLE)

Internal use only.
From START to END, translate characters according to TABLE.
TABLE is a string or a char-table; the Nth character in it is the
mapping for the character with code N.
It returns the number of characters changed.