Register / Login
Character encoding, JSP and AJAX? General advice?
posted 5 years ago
I'm looking for advice as to how I
approach character encoding in our new
The JSP web part can be e.g. ISO-8859-1 or UTF-8.
We need some typical west european special characters. It is not likely that we will need full UTF-8.
The site uses ajax POST and http GET a lot. I read somewhere that an ajax call would always use UTF-8 (true?).
The database end (Oracle) has a CGI-interface (written in C) which gets called over http POST. The cgi and Oracle use ISO-8859-1.
A setup where Oracle, the CGI and the webserver all run on the same linux machine is possible.
Would you use ISO-8859-1 everywhere and try to handle the ajax calls (UTF-8) separately or would you try to do the whole web part in UTF-8 and convert somewhere in between? Where and how?
I would be thankful for your views and opinions.
Mail attachment charset problem
Uploaded files have characters changed !!!
String functions and ISO-8895-1 encoding.