Cisco Cisco Collaboration Server Dynamic Content Adapter

Page of 223
DCA 2.01 Administration and Configuration Guide 
How to Use the Encoding Properties File   173 
How to Use the Encoding Properties File 
Use the Encoding.properties file to specify equivalent Java encoding methods that 
should NOT cause  document parsing to restart if the mapped encoding changes. 
About Encoding Methods and Parsing Restarts 
An HTML document's encoding method can be specified either in its HTTP header, or 
in a meta tag within the document. Because the DCA parser chooses its Java 
encoding method BEFORE it begins parsing a document, the later discovery of a 
different encoding method specified in a document's meta tags will cause parsing to 
restart.  
While under normal circumstances this behavior is correct, there may be situations in 
which it would not be preferable not to restart parsing -- namely, if the new encoding 
method would return essentially the same output as the current. You can use the 
encoding.properties
 file to specify equivalent Java encoding methods that should 
NOT cause document parsing to restart if the mapped encoding changes. 
To Specify Equivalent Java Encoding Methods 
To specify equivalent Java encoding methods: 
1.  In the Admin Tool, select Configuration > Encoding. 
2.  On a new line, specify equivalent Java encoding methods, as follows: 
<Java encoding method 1>
=<Java encoding method 2> 
3.  To specify additional equivalents to that method, add additional lines to the file, 
as follows: 
<Java method 1>
=<Java method 2> 
<Java method 1>
=<Java method 3> 
<Java method 1>
=<Java method 4> 
4. Click Submit. 
Note: Encoding.properties can be edited while the DCA server is running.