Can you give more details?
e.g. Are you talking about this encoding?
thanks for replay!!! i made a function to do that is this:
/*------------HTMLencode function----------------*/
public static String encodeHTML(String s)
{
StringBuffer out = new StringBuffer();
for(int i=0; i<s.length(); i++)
{
char c = s.charAt(i);
if(c > 127 || c=='"' || c=='<' || c=='>')
{
out.append("&#"+(int)c+";");
}
else
{
out.append(c);
}
}
return out.toString();
}