e*g
7 楼
this one is not trivial. there is escaping on http level,
escaping on xml(html) level, and encoding on binary level.
browser may introduce ambiguity that it sends literal char
sequence {微} (inputed by a wierd user) and a chinese
char '微' exactly the same to server, so that server has
no idea which one it means exactly.
i didn't do works on making a server capable of handling
all character from all browser of any locale, so I'm not
sure how hard it is.
the funny thing is, if you just forge
【在 h**d 的大作中提到】
: 人家不玩encoding不允许啊:)
escaping on xml(html) level, and encoding on binary level.
browser may introduce ambiguity that it sends literal char
sequence {微} (inputed by a wierd user) and a chinese
char '微' exactly the same to server, so that server has
no idea which one it means exactly.
i didn't do works on making a server capable of handling
all character from all browser of any locale, so I'm not
sure how hard it is.
the funny thing is, if you just forge
【在 h**d 的大作中提到】
: 人家不玩encoding不允许啊:)
相关阅读