locale
locale copied to clipboard
Add replace method to utf-to-utf
During conversion between UTF encodings it might be desirable to replace invalid characters by a replacement character, e.g. 0xFFFD. But the current methods only allow to skip or abort.