You can customize the means by which Dynamo determines the encoding type of a specific document by sub-classing the EncodingTyper and overriding the getEncodingType() method. In the following example, this method is passed document paths relative to the document root.
atg.servlet.pagecompile.PageEncodingTyper.java:
-----------------------------------------------
/**
* Get the encoding to use for the specified path.
*
* @return the encoding string, or null if there is no encoding
* corresponding to the specified path
*/
public String getEncodingType (String pPath)
{
// Your code here.
}
