<%!
public String getStr(String str)
{
try
{
String temp_p=str;
byte[] temp_t=temp_p.getBytes("ISO8859-1");
String temp=new String(temp_t);
return temp;
}
catch(Exception e)
{
}
return "null";
}
%>
public String getStr(String str)
{
try
{
String temp_p=str;
byte[] temp_t=temp_p.getBytes("ISO8859-1");
String temp=new String(temp_t);
return temp;
}
catch(Exception e)
{
}
return "null";
}
%>
解决方案 »
- 编写一个小算法
- io流.得到文件路径中文乱码问题
- GifEncoder.encode()
- [求助]如何清空StringBuffer?
- 用swt如何实现窗口的慢慢弹出效果,类似MSN收到消息时升起的提示框那样的
- 请问用JAVA创建快捷方式?
- 安装jdk时的问题!
- 高分求jdbc的简单问题,在线等急
- 真的不明白,简单问题3(关于文件)
- 如何把一个浮点数分整数和小数显示?
- 小弟遇到一件怪事,特向各位大侠请教:我写了一个applet访问数据库的小程序,连接成功,但没有一行数据返回。我用application访问,就返回了表中数据。盼望大家指点!
- JB5与JB3的Javaw.exe有何不同?要高分的请进
<%!
public String getStr(String str)
{
try
{
String temp_p=str;
byte[] temp_t=temp_p.getBytes("ISO8859-1");
String temp=new String(temp_t);
return temp;
}
catch(Exception e)
{
}
return "null";
}
%>
<%
name = getStr(name);
%>