semicolon dissapears when writing to database
Posted on 2004-08-26
I have a problem with dissapearing semicolons.
I have a String that looks like this:
update CLASSIFICATION set text = "Drimel;dramel" where id = 4;
that I encode with URLEncoder.encode( string )
after it´s encoded the string looks like this:
I post it to a cgi-script but when it reaches the database it looks like this
so the semicolon have dissapeared. I cant find where its done. Does anyone know if there is another way of encoding the string?
Is it something special with the semicolon?