Please try if the following works...
String SomeText = new
String(request.getParameter("SomeText").getBytes("ISO-8859-1), "turkish
character encoding");
--
Clement Wong
JRun Engineer
< a l l a i r e >
-----Original Message-----
From: Dobromir Karamelsky [mailto:[EMAIL PROTECTED]]
Sent: Sunday, October 08, 2000 2:13 AM
To: JRun-Talk
Subject: Turkish characters problem
Hi,
With JRun 3.0 I want to receive in a servlet some text containing
Turkish chars. With POST and GET method I'm getting the same result:
smashing most of the special chars to "?",
I'm using:
String SomeText = request.getParameter("SomeText");
I'm also reading such a text from a database and everything is fine. I
can write Turkish chars correctly to the output. If I try to get
requested URL and it contain Turkish chars I can read them correctly as
well.
My last test was to run the same servlet into iPlanet Fast Track and
everything was fine. I was able to get all Turkish chars from one POST
(or GET) request and to save them into db field, which was the primary
goal.
So does anyone know a possible solution?
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/
----------------------------------------------------------------------------
--
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.