×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

International characters in request parameters?

International characters in request parameters?

International characters in request parameters?

(OP)
I've made a JSP for a customer contact form.
The customer enters his email address and a message, the data is stored in a database table (and will in the future also be emailed to one of our email addresses).

The message is a simple HTML textarea.
When the text contains special characters (like German Umlaut or Ringel-S characters) the field isn't read correctly using request.getParameter().
On Orion 2.0 everything works as expected, making me believe there's something weird in the way Silverstream handles these characters.

Any idea for a workaround or fix?

RE: International characters in request parameters?

We had a problem with foreign characters and this fix from Silverstream solved the problem.

SilverStream support have admitted that there is a problem with SQL server and foreign character sets. Their suggestion is to add the following line to the AgUserIni.props file in the resources directory;

    com.sssw.srv.ambry.mbcs.AgOdbc=true
    
You then need to restart the SilverStream Server.

RE: International characters in request parameters?

(OP)
Cheers, but it isn't SQL Server.

After some experimentation I changed the content-type of the JSPs to UTF-8 which solved it (strangely on Orion this wasn't needed, which got me confused as that's what I used to test them...).

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close