Set Language Encoding for Results
You can specify the encoding that the DAH uses for the results that it returns.
-
Open the DAH configuration file in a text editor.
-
Find the
[Server]
section. -
Add the DefaultEncoding setting to specify the encoding that you want the DAH to use for results that it returns, in cases where the query does not specify a language encoding to use. For example:
[Server] (other server settings...) DefaultEncoding=ASCII
-
Add the LanguageDirectory parameter to specify the location of the directory that contains the files that the DAH needs to encode results. By default, the files are in the
langfiles
directory located in the main DAH installation directory. For example:[Server] (other server settings...) DefaultEncoding=ASCII LanguageDirectory=./langfiles
NOTE: If the DAH cannot find the language directory that you specify, it returns results in UTF-8.
-
Save and close the configuration file.
-
Restart the DAH for your changes to take effect.