MS smart quote substitution

Hello,
I have a spring app which accepts sql statements thru a gui / post request.
The statements can have MS smart quotes like
Select ’02-may-2011’,’dd-mon-yyyy’ from dual;

I was anticipating substituting the smart quotes on the server side with normal quotes,
but  debugging the statement at the request reveals that a substitution has already been done with the '?box' = 63 char for any smart quote.

My question is who or what (spring, http request etc) automatically changes the smart quotes to boxes in between the post and the request ?

Also is there a way of preventing this so I can see them on the server side and do my own sub ?
thanks
WaponiAsked:
Who is Participating?
 
CEHJCommented:
It's the browser (usually) that will do it
0
 
CEHJCommented:
They will be urlencoded by whatever does the post
0
 
WaponiAuthor Commented:
So <%@page contentType="text/html" pageEncoding="UTF-8"%> will encode all post request parameters ?
0
 
objectsCommented:
you'll need to configure you're server (for example with a charset filter) to set the encoding correctly
 
0
 
WaponiAuthor Commented:
Thanks for the clarification
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.