Notice
Recent Posts
Recent Comments
Link
«   2026/02   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
Archives
Today
Total
관리 메뉴

(❀╹◡╹)

[ASP] 인코딩 처리 본문

Programing/WEB

[ASP] 인코딩 처리

진 주 2019. 9. 10. 17:51

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