The alphabet in which Informatica AddressDoctor returns the output varies from country to country. For most of the countries, the output is in Latin 1 or ASCII irrespective of the preferred language you set.
PreferredScript
is an optional parameter that you can include to specify the script in which Informatica AddressDoctor Cloud returns the result.
You can specify one of the following values for the
PreferredScript
parameter:
DATABASE
. To generate the address output in the same unicode script in which the reference address database stores the corresponding address. This is the default value.
POSTAL_ADMIN_PREF
. To generate the address output in the same unicode script that is the preferred script for the postal department of the country to which the address belongs. Typically, this is the same as the DATABASE script.
POSTAL_ADMIN_ALT
. To generate the address output in the same unicode script that is the postal department-approved alternative script in the country to which the address belongs. For example, if you set
PreferredScript
to POSTAL_ADMIN_ALT when you validate a Japan address, you receive the result in Kana characters instead of the Kanji script. Kanji is the POSTAL_ADMIN_PREF script for Japan.
ASCII_SIMPLIFIED
. To generate the address output in ASCII simplified script. Informatica AddressDoctor Cloud converts non-ASCII characters in the output to their basic ASCII equivalents. For example, ö is replaced with o in the output.
ASCII_EXTENDED
. To generate the address output in ASCII extended script that supports the expansion of special characters. Informatica AddressDoctor Cloud converts non-ASCII characters in the output to their general ASCII equivalents. For example, ö is replaced with oe in the output.
LATIN
. To generate the result in Latin script. If the input was in a different script, AddressDoctor Cloud transliterates such addresses to provide the output in Latin. Note that the Latin output might contain characters from any of the 15 different Latin character sets.
LATIN_ALT
. To generate the result in Latin alternate script that is used for transliteration. This settings works only for countries that support multiple Latin transliterations. For example, if you set
PreferredScript
to LATIN_ALT, Informatica AddressDoctor Cloud transliterates Russian addresses according to BGN rules instead of ISO rules.
LATIN_1
. To generate the result in Latin-1, Western European, characters.
PRESERVE_INPUT
. To generate the address output in the same script that you used for the address input. You can set this value only for addresses from Belarus, China, Greece, Japan, Kazakhstan, Macedonia, Russia, and Ukraine.
If the input contains address elements that are not in the corresponding database, Informatica AddressDoctor copies such elements from the input to the output. For such elements, Informatica AddressDoctor uses the same script that you used for the input address irrespective of the value you set for
PreferredScript
.
If you set
PreferredScript
to PRESERVE_INPUT, Informatica AddressDoctor returns the output in the same script that was used for the input. If the input contains more than one script, Informatica AddressDoctor overrides the PRESERVE_INPUT setting and returns the address in the default script used in the reference address database.
For example: If you set
PreferredScript
to PRESERVE_INPUT and enter a Japan address that contains both Kanji and Latin elements, Informatica AddressDoctor returns all address elements in Kanji, which is the default script for Japan reference address database.