> Do you mean replacing a character in an UCS-2/UCS-4 string can be > implemented more efficiently than in an UTF-8/UTF-16 string? > Sure, just scan the string char by char as array elements and replace as matches encounter. Like working with integer arrays.