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 in which there is one non-ASCII encoded content being served, which may or may 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, then the defaultEncoding, encodingMappings, and pathPatternPrefixes properties must all be configured.

 
loading table of contents...