You must set the defaultEncoding property for any internationalized Web site that is serving non-ASCII content. If the site is a single-locale site that is using only the ASCII encoding, it is best to leave the defaultEncoding property set to null. This setting allows for faster processing because conversion to UTF-8 is not performed.

If you are setting up an internationalized Web site where one non-ASCII encoded content is served, which might or might not be different from the encoding of the server locale, the EncodingTyper simply requires configuration of the defaultEncoding property. Set this property to the encoding that you want your site to display by default. In this case, you do not have to define values for the encodingMappings and pathPatternPrefixes properties (see below).

If you are designing a site with multiple supported request locales, the defaultEncoding, encodingMappings, and pathPatternPrefixes properties must all be configured.

loading table of contents...