Mashable, Mashup and App Encodings and Locales
Default Mashable and Mashup Encoding and Overrides
Some types of mashables may include character encoding information in the response, such as XML files, while others do not, such as CSV. MashZone NextGen uses UTF-8 as the default character encoding for mashable and mashup results.
For mashables that are file-based, MashZone NextGen uses the Java system property file-encoding to ensure this default is available for mashables that cannot specify an encoding, such as CSV files. This Java property is set to default to UTF-8 in startup scripts for the application server (MashZoneNG-install/apache-tomcat/bin/setup.[bat|sh]).
You can provide a mechanism to override this default encoding for individual mashables by defining an artifact attribute named
encoding_override.
See Setting a Character Encoding for a Mashable for information on how to make this override available.Mashable, Mashup or App Locales
When users register mashables, the default locale for the mashable is set to the locale from the user’s browser, if that locale is available and is a supported locale for MashZone NextGen. If the user’s locale is not available or it is not a supported locale, MashZone NextGen uses the locale from the JVM for the MashZone NextGen Server as the default locale.
Users can override this default locale for mashables or set the locale for mashups and apps with the
Region field.
See Change an Artifact’s Locale for instructions. You can also set the default locale for the JVM for
MashZone NextGen. See
Message Log and Default Locales for instructions.