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. Business Analytics uses UTF-8 as the default character encoding for mashable and mashup results.
For mashables that are file-based, Business Analytics 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-tomee-jaxrs/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 Business Analytics. If the user’s locale is not available or it is not a supported locale, Business Analytics uses the locale from the JVM for the Business Analytics 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
Business Analytics. See
Message Log and Default Locales for instructions.