> What do you mean by convert? > Modifing database strings or setting stuff like encoding/contentType > of the servlet response object? >
I think the appropriate function is called htmlentities() or htmlspecialchars(). This should do what you want. greetings, Johannes -- "More than machinery we need humanity" -- Charlie Chaplin, The Great Dictator -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]