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.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access