Working with UNICODE Characters in Jython Scripts

When writing script code in Jython technology, specify any non-English strings in UNICODE by prefixing the letter "u" before the string in double quotes. This means instead of defining a string as "MyValue" define it as u"MyValue." See the following example used in data load mapping script for the Account dimension:


Image shows UNICODE Characters used in Jython Scripts

The scripts above uses the "u" prefix for the user defined strings. You can optionally specify the u prefix for English/ASCII strings (that is, you can use "1110" or u"1110"). The following shows the result of the mapping applied on the workbench.


Result of using the u prefix (for UNICODE)