반응형

PROGRAMING 110

[APACHE] 한글 인코딩 문제 해결

1. 모든 웹사이트에 기본인코딩 정하기 Apache 설정파일(httpd.conf)에서 아래와 같은 설정을 넣어줌 #httpd.conf AddDefaultCharset [인코딩코드] [인코딩코드] utf-8 : 한국어뿐만이 아니라 다른 언어를 모두 표현할수 있는 인코딩 euc-kr : 한국어 ks_c_5601-1987 : 한글 완성형 * 이 설정으로 인해 META 태그를 이용한 인코딩을 바꿀수 없음. 2. 각 페이지마다 META 태그를 이용해 다른 인코딩 설정하기 Apache 설정파일(httpd.conf)에서 아래와 같이 기본인코딩 설정을 Off하거나 주석처리함 #httpd.conf AddDefaultCharset Off 각 웹페이지 상단에 다음과 같은 META 태그를 삽입 [인코딩코드] utf-8 : 한..

PROGRAMING/APACHE 2019.09.18

[WP7] Visual Studio 2010 Express for Windows Phone 설치 에러 (Compatibility Mode)

Visual Studio Setup cannot be run in Program Compatibility Mode Visual Studio 2010 and/or the .NET Framework 4 Setup fails with 1603 error code or blocks running in Program Compatibility Mode. Windows Program Compatibility Assistant indicates that Visual Studio Setup might not have installed correctly, and prompts the user to reinstall by using the recommended setting (program compatibility mode..

PROGRAMING/WP7 2011.08.19

[JAVASCRIPT] GET 파라미터 값 취득

자바스크립트를 이용한 URL에서 GET Parameter값 취득. function getParam( name ) { name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); var regexS = "[\\?&]"+name+"=([^&#]*)"; var regex = new RegExp( regexS ); var results = regex.exec( window.location.href ); if( results == null ) return ""; else return results[1]; } 다음과 같은 URL에서 위의 함수를 이용해 파라미터값 취득 http://www.someurl.com/some_page.html?id=123&name=test&cat..

반응형