Page 1 of 1

UTF Conversion error

Posted: Wed Jun 27, 2007 1:44 am
by mydsworld
I have source column with 'varchar'.From source data is coming to Transformer where I have used StringToUstring(<data.column>,'UTF-16') and in target (FTP Plug-in)I have column defined as 'varchar' with extended property 'Unicode' set.In target I have set NLS map 'UTF-16'. I am getting error like this :

U_TRUNCATED_CHAR_FOUND encountered.
Encoding conversion error : Truncated character found
Warning: ??????????????????

However I am able to do conversion for UTF-8.
Please advise.

Posted: Wed Jun 27, 2007 6:58 am
by gbusson
Note that with UTF-16, varchar [16] is 32 bytes long!

be careful with the sizes of your strings.