Skip to main content
OCLC Support

Option UTF16

Learn how to use the Option UTF16 config.txt directive to specify that content sent using UTF-16 is transformed into UTF-8 and processed by EZproxy.

Option UTF16 specifies that content sent using UTF-16 encoding should be transformed into UTF-8 and processed by EZproxy. UTF-16 and UTF-8 are UNICODE standards for encoding character sets, especially for international characters. The main purpose for this option is to support the Chinese database Siku Quanshu.

Option NoUTF16 is the default behavior for EZproxy and indicates that U TF-16 content should not be processed by EZproxy.

Option NoUTF16 is a repeatable position-dependent config.txt directive that interacts with database stanzas, following database stanzas until overridden.

Syntax

Option UTF16

Example

Enable UTF-16 processing for Siku Quanshu, but disable it for Other Database and any databases that follow Other database.

Option UTF16
Title Siku Quanshu
URL http://skqs.yourlib.org
DJ skqs.yourlib.org
Option NoUTF16
Title Other Database
URL http://www.otherdb.com
D otherdb.com