UTF-8로 된 웹페이지가 IE에서 안뜨는 경우가 있습니다??
글쓴이: opiokane / 작성시간: 화, 2006/01/24 - 4:38오전
컨텐츠가 utf-8로 되어 있고 웹의 헤더가 다음과 같이 되어 있습니다.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>www.xxxxxx.org - 홈</title> <meta name="description" content="잼있는 내용들" /> <meta name="keywords" content="온갖 것들" /> <meta name="robots" content="index, follow" /> <link rel="shortcut icon" href="http://www.xxxxxx.org/images/favicon.ico" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link href="http://www.xxxxxx.org/templates/yepen/css/template_css.css" rel="stylesheet" type="text/css" /> <link rel="shortcut icon" href="http://www.xxxxxx.org/images/favicon.ico" /> <style type="text/css"> v\:* { behavior:url(#default#VML); } </style> </head>
그런데 파폭에서는 무조건 잘 뜨고 IE에서는 어떤 경우에는 웹이 바로 뜨고 어떤 경우에는 아무것도 나타나지 않습니다. 아무것도 나타나지 않을 경우에는 IE의 view-encoding를 유니코드로 바꿔주면 뜹니다.
구글은 utf-8인데도 항상 잘 뜨는데 ....
어떻게 하면 웹페이지가 항상 잘 나오게 할 수 있을까요?
Forums:
IE 는 <meta http-equiv="Content-Type"
IE 는 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 전에 한글 등의 멀티바이트 문자가 있으면 실패하는 경우가 있습니다.
그러므로 저 meta 태그를 한글이 출력되기 전, 즉 title 태그 전에 넣으세요.
----
블로그 / 위키 / 리눅스 스크린샷 갤러리
아....해커 여신님 감사합니다....그렇게 고쳐야 겠습니다.
아....해커 여신님 감사합니다....그렇게 고쳐야 겠습니다.
George double you Bush has two brains, the left and the right, like normal people. But the problem is that there is nothing right in his left brain and there is nothing left in his right brain"
댓글 달기