(❀╹◡╹)
[ASP] 인코딩 처리 본문
ASP 파일 최상단에 선언하여 사용
EUC-KR일 경우
<% @Language="VBScript" CODEPAGE="949" %>
<%
Response.CharSet="euc-kr"
Session.codepage="949"
Response.codepage="949"
Response.ContentType="text/html;charset=euc-kr"
%>
UTF-8일 경우
<%@Language="VBScript" CODEPAGE="65001" %>
<%
Response.CharSet="utf-8"
Session.codepage="65001"
Response.codepage="65001"
Response.ContentType="text/html;charset=utf-8"
%>
'Programing > WEB' 카테고리의 다른 글
| 파일 다운로드 구현 시 한글 파일명일 때 오류나는 경우 (0) | 2019.10.14 |
|---|---|
| [MySql] 그룹별 limit (0) | 2019.09.20 |
| [ASP] 변수 선언 (Dim, ReDim) (0) | 2019.09.10 |
| [ASP] IP 확인 (0) | 2019.09.10 |
| [ASP] Response.Expires 설정 (0) | 2019.09.09 |