Appendix : Legacy Presto components : Mashables and Mashups : Mashables : Running Mashables or Mashups and Other Tasks : Setting a Character Encoding for a Mashable
Setting a Character Encoding for a Mashable
Character encodings determine what characters are used in mashable results and the actual digital representation of those characters. In most cases, the web services or other information sources underlying mashables send information about the character encoding of the response.
In some cases, this encoding information is missing or incorrect. MashZone NextGen uses a default encoding, but this can cause results to display strange characters not appropriate for the language used with the result or show multiple characters where only one is clearly needed.
You can override this default encoding for individual mashables to fix this problem.
1. Have your MashZone NextGen administrator add or update an artifact attribute for character encodings to use with mashables and ensure that it supports the character encoding being used in responses from this mashable.
*If the attribute does not yet exist, your MashZone NextGen administrator must add the following attribute:
*Mashable = as the type of artifact that this attribute applies to.
*Attribute Name = encoding_override
*Datatype = ENUM
*Possible Values = a comma-separated list of character encodings for users to choose from.
This list must include utf-8 which is the default character encoding used in MashZone NextGen. It can include any character encoding supported by the JDK used with MashZone NextGen. For example:
iso-8859-1,utf-8
Allows users to choose between the default character encoding and the Latin-1 character encoding that supports most Western European languages.
*Default Value = must be left blank.
*If the attribute exists, your MashZone NextGen administrator should make sure that the character encoding you need is listed as a possible value and that this artifact attribute is available for mashables.
2. Once the attribute exists with the proper information, open this mashable from search results or other links.
3. Select Show > Info.
4. Find the encoding_override field and Click Edit.
5. Choose the encoding that this mashable is using and click Save.
Copyright © 2013-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback