Re: Special characters in java, oracle and html
From: Doyle (mypetrock_at_yahoo.com)
Date: 10/20/03
- Previous message: Paul Lutus: "Re: Special characters in java, oracle and html"
- In reply to: Barry Olly: "Special characters in java, oracle and html"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 20 Oct 2003 11:01:06 -0700
bbo@africamail.com (Barry Olly) wrote in message news:<27c6cd75.0310200654.4efdae91@posting.google.com>...
> I believe there two issues;
>
> 1. dealing with special characters
>
> 2. display special characters back in html form textfield after
> retrieving.
>
The quick and dirty method would be to put a character filter the end
of your i/o operation that is giving you trouble.
public class Filter
{
public String filter(String input)
{
// for each special character, convert it into its
// appropriate escape/ampersand sequence and add it back into the
string
// in the place of the special character e.g. > ==> <
}
}
mypetrock
- Previous message: Paul Lutus: "Re: Special characters in java, oracle and html"
- In reply to: Barry Olly: "Special characters in java, oracle and html"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|