Siebel eScript Language Reference > Methods Reference > Conversion Methods >

Convert Unicode to ASCII Method


The Convert Unicode to ASCII method converts Unicode character combinations that exist in a string to equivalent ASCII characters. It returns the revised string.

Format

unescape(string)

Table 90 describes the arguments for the Convert Unicode to ASCII method.

Table 90. Arguments for the Convert Unicode to ASCII Method
Argument
Description

string

A string literal or string variable that contains the Unicode character combinations that this method converts.

Example

The following example displays the string in the argument. The Convert Unicode to ASCII method converts the Unicode character combinations to printable characters. The %20 is the Unicode representation of the space character. The following example normally displays on a single line because a new line cannot break a string:

TheApplication().RaiseErrorText(unescape("http://obscushop.com/texis/%20%20showcat.html?catid=%232029
rg=r133"));

This example produces the following result:

http://obscushop.com/texis/  showcat.html?catid=#2029
rg=r133

Siebel eScript Language Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.