作者LPH66 (运命のルーレット廻して)
看板PHP
标题Re: [请益] 关於utf8编码
时间Sat Feb 18 18:40:19 2006
※ 引述《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