Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

<%@ LANGUAGE=VBScript CODEPAGE=1254 %>

Status
Not open for further replies.

Braderd

Programmer
Mar 2, 2008
20
TR
Hi,

I can not use the code <%@ LANGUAGE=VBScript CODEPAGE=1254 %>

I'm receiving this error:
Active Server Pages error 'ASP 0245'

Mixed usage of Code Page values

/programdeneme2.asp, line 1

The @CODEPAGE value specified differs from that of the including file's CODEPAGE or the file's saved format.

What can I do? Thank you.
 
Do you need it at all, is there some specific reason?

Its OK if there is I was just asking.
 
Is there alternative of this language code? <%@ LANGUAGE=VBScript CODEPAGE=1254 %>

alternative code can work, thank you.
 
Here is an excerpt from an interesting page on the subject of multiple-code pages:


There can be only one codepage per response body, otherwise incorrect characters are displayed. If you set the codepage explicitly in two pages where one is called by the other with #include, Server.Execute, or Server.Transfer, usually the parent page decides the codepage. The only exception is if Response.CodePage is explicitly set in the parent page of a Server.Execute call. In that case, an @CodePage command in the child page overrides the parent codepage.


Here is a link to the page from which that excerpt was taken:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top