For example, if the user input were UTF-8 data and the string literal were a Unicode string, the name would be incorrectly decoded into five Unicode characters to form Jos???? (sic) instead of Jos?? because the UTF-8 data means something else when decoded as Latin-1 data.