byte
[] b;
String utf8_value;
utf8_value = request.getParameter(
"NAME"
);
//从HTTP流中取"NAME"的UTF8数据
b = utf8_value.getBytes(
"8859_1"
//中间用ISO-8859-1过渡
String name =
new
String(b,
"GB2312"
//转换成GB2312字符
高级设计师
by: 小蜜锋 发表于:2012-12-13 20:50:52 顶(0) | 踩(0) 回复
<
html
>
head
style
#col a:link {
color:#069;
}
#col a:visited {
color:#060;
#col a:hover {
color:#F90;
</
div
id
=
"col"
> <
a
href
"#"
>http://yuncode.net</
> </
高级设计师
by: 小蜜锋 发表于:2012-12-13 20:50:52 顶(0) | 踩(0) 回复
<
html
>
<
head
>
<
style
>
#col a:link {
color:#069;
}
#col a:visited {
color:#060;
}
#col a:hover {
color:#F90;
}
</
style
>
</
head
>
<
div
id
=
"col"
> <
a
href
=
"#"
>http://yuncode.net</
a
> </
div
>
</
html
>
回复评论