Specifying code pages for input data > Dynamically selecting code pages for the input to an Event

Dynamically selecting code pages for the input to an Event
You can use lookup/script aliases or retrieved scripts to dynamically select the appropriate code page for the input to an Event.
Prerequisites
To select code pages using a retrieved script
Add a retrieved script that includes the ConvCurrMsgToUC scripting function to the Event. See the Scripting reference for information.
To select code pages using lookup/script aliases
1
In the Runtime configuration view, right-click the Event and select Settings. The Runtime Event Settings dialog box opens.
2
On the Code Page tab, select Lookup or Variable and specify the alias settings. See the Design Center documentation for information about alias selection methods.
Lookup table syntax
<key value>    <code page>
Comments:
Use TAB to separate <key value> and <code page>.
Use quotation marks if <key value> contains white spaces.
Example 4
"Western Europe"   ISO 8859-1
"Eastern Europe"   ISO 8859-2
Turkish            ISO 8859-9
 
Example 5
In this example the PageIN Event receives both ISO 8859-15 and ISO 8859-2 encoded input. The following lookup table is used to dynamically select the appropriate code page:
Western    ISO 8859-15
Eastern ISO 8859-2
Click to enlarge
 
 
OpenText StreamServe 5.6 Updated: 2013-03-01