[ 게시물 읽기 ]
 내일은 상강입니다.
sun's longitude:209 33 15.38 
· 자유게시판 · 묻고답하기 · 알파문서 · RPMS list
· 사용자문서 · 팁/FAQ모음 · 리눅스Links · 자료실
· 서버정보 · 운영자 · Books/FAQ · FreeBSD
 
/board/read.php:소스보기  
 
알파문서
자주 잊어먹거나, 메모해 둘 필요성이 있는 팁이나 문서, 기타 등등
[*** 쓰기 금지단어 패턴 ***]
글 본문 중간에 업로드할 이미지를 추가하는 방법 : @@이미지이름@@
ex) @@foo.gif@@
318 번 글: [web] 문자셋 설정 가이드
글쓴이: 산이 글쓴날: 2024년 10월 15일 02:59:00 화(새벽) 조회: 4

----------+-------------------------+----------------------
.htaccess | euc-kr  euc-kr euc-kr   | utf-8  utf-8 utf-8
files     | euc-kr  utf-8  utf-8bom | euc-kr utf-8 utf-8bom
----------+-------------------------+----------------------
text/html | ok      fail   ok       | fail   ok    ok
----------+-------------------------+----------------------
image/jpeg| ok      ok     fail     | ok     ok    fail
----------+-------------------------+----------------------

text/html  서로 문자셋이 같거나 utf-8 bom 이면 정상
image/jpeg 파일이 utf-8 bom 이면 안되고 나머지는 정상

files:
  auto_xxx php file
  all include files
  main.php

image/jpeg => external image files


1. Content-Type: text/html

default_charset euc-kr // .htaccess => charset=euc-kr
  files ansi      // ok
  files utf-8     // fail, display black ??? and more
  files utf-8 bom // ok

default_charset utf-8 // .htaccess => charset=utf-8
  files ansi      // fail, display all black ???
  files utf-8     // ok
  files utf-8 bom // ok


2. Content-Type: image/jpeg // out side image file to sending

default_charset euc-kr // .htaccess
  files ansi      // ok
  files utf-8     // ok
  files utf-8 bom // fail

default_charset utf-8 // .htaccess
  files ansi      // ok
  files utf-8     // ok
  files utf-8 bom // fail

 
다음글 : [엑셀] 축서식    from 27.1.233.132
JS(Redhands)Board 0.4 +@


|글쓰기| |답장쓰기| |수정| |삭제|
|이전글| |다음글| |목록보기|
인쇄용 

apache lighttpd linuxchannel.net 
Copyright 1997-2024. linuxchannel.net. All rights reserved.

Page loading: 0.01(server) + (network) + (browser) seconds