Skip to Content
Jan 22, 2016 at 03:17 PM

UTF-8 Vs UTF-16



I am trying to understand in what scenario can use different encoding schemes ex. UTF-16.

Based on my understanding when PI / PO picks up a file, it gets encoded using UTF-8 by default. Also an option is available in sender adapter of File type which when we select to Text, we can specify differetnt encoding like UTF-16. I have tried to using UTF-16 in the scenario which is working fine using File type as binary (default encoding as UF-8) and it stopped working and am able to see some funny characters in the payload. Can you please let me know why can't we use different encoding in this scenario.