페이지 단위로 인코딩을 설정하는 방법

이 경우 아래와 같이 코드를 페이지 최상단에 추가한다.

<%@Language="VBScript" CODEPAGE="65001" %>
<%
 
  Response.CharSet="utf-8"
  Session.codepage="65001"
  Response.codepage="65001"
  Response.ContentType="text/html;charset=utf-8"
%>

 

[출처] codelib.tistory.com/28

'프로그램 > ASP' 카테고리의 다른 글

[ASP] If문, For문, Do While문  (0) 2021.03.09
[ASP] BOF와 EOF의 의미  (0) 2021.03.09
[ASP] 기초 문법 실습하기  (0) 2021.03.03
ASP 기본 문법 I  (0) 2021.03.03
ASP 란 무엇인가?  (0) 2021.03.03

+ Recent posts