Help > Web Development > Reference > Scripting Objects > Response Object > CodePage

Response.CodePage Property

The CodePage property indicates how textual content should be encoded for the current response.  The code page instructs the user's web browser how to render text for international languages.

Syntax
Response.CodePage = (number)

Parameters
number

Specifies the code page number, for example 65001 (utf-8).


Remarks

Perceptive Enterprise Search templates are generally configured as utf-8, this enables it to render Unicode characters, which will support most languages.


Example
<% Response.CodePage = 65001 ' Sets the code page to utf-8 %>

Applies To
Response Object