This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Servlets and the fly likes reading Arabic character HttpRequest object Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "reading Arabic character HttpRequest object" Watch "reading Arabic character HttpRequest object" New topic
Author

reading Arabic character HttpRequest object

Abhijit Das
Ranch Hand

Joined: Sep 25, 2007
Posts: 156
hi,

I want to read the Arabic font from the HttpServletRequest object. I have inserted a Arabic word in a input control and send the data in the Server (JBoss).
But, I have got the garbage value by using
request.getParameter("inputControlName");

Again,I want to store the the Arabic string into the mySQL 4.1 datablase.

Please help me.

Thanks

Abhijit Das
SCJP 5.0 | SCWCD 1.5
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 16483
    
    2

Here you go, this article was written specifically to answer your question: Character Conversions from Browser to Database.
Abhijit Das
Ranch Hand

Joined: Sep 25, 2007
Posts: 156
Hi Paul,

I have gone through the article. But, I need the explanation about the splecailly, Arrabic caharacter. How to get the the character in server end and store/retive into/from the MySQL 4.1

the Arabic labels in my HTML from is correctly comming in the browser by setting response.setCharacterEncoding("UTF-8") in my servlet;
so, I need to work on the arabic character in the input box in my form.

thanks
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: reading Arabic character HttpRequest object
 
Similar Threads
Multilingual support by JTextField
Arabic letters in Text object
Arabic letters in Text object
Having both English and Arabic number in jsp
JTextField and Arabic