Re: [請益] 關於utf8編碼
※ 引述《scsnake (飄萍)》之銘言:
: 問個很笨的問題呀~
: 開一個中文網頁 然後把網頁編碼改成utf-8 會變成亂碼
: 那為什麼mysql等的charset都用utf8 但中文可以顯示??
舉個例
"一"這個字
大五碼是 A4 40
UTF-8是 E4 B8 80
那如果A網頁存"一"這個字是用A4 40存 當然用big5正常 utf-8亂碼
如果B網頁存"一"這個字是用E4 B8 80存 當然用utf-8正常 big5亂碼
這樣了解了嗎?
--
'Oh, Harry, dont't you see?' Hermione breathed. 'If she could have done
one thing to make absolutely sure that every single person in this school
will read your interview, it was banning it!'
---'Harry Potter and the order of the phoenix', P513
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.240.54
討論串 (同標題文章)