Name

LCID — <%@ LCID= dwordLCID %>

Synopsis

Sets a valid locale identifier for a given script. This directive specifies various formats (such as dates and times) to use for data on the server side.

Parameters

dwordLCID

A DWORD (32-bit unsigned) value that represents a valid locale ID.

Example

<%@ LCID=1036%>

' This code sets the locale ID for the server-side
' script to that for French.

Notes

Just as setting the CODEPAGE directive has no effect on the CodePage property of the Session object and what character set is used on the client side, setting the LCID directive has no effect on the LCID used on the client side. However, it is important to note that the LCID preprocessing directive dictates how the script itself is interpreted, whereas the LCID property of the Session object dictates how the resulting HTML is processed.

Get ASP in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.