| Author |
passing arabic parameters
|
Fouad Fares
Ranch Hand
Joined: Apr 16, 2003
Posts: 38
|
|
hello I'm developping a web application through Jdeveloper 9i.028. I'm trying to pass parameters from page to page using get method through a javascript. The values of these parameters are in arabic language. Once i try to read these values on the second page using the request.getParameter method i receive a garbage values. Please Note that i try to display the values before sending it to the second page and the output was correct Plese advise Thanks in advance. [ April 18, 2006: Message edited by: Bear Bibeault ]
|
 |
Edgard Taok
Greenhorn
Joined: Apr 18, 2006
Posts: 2
|
|
Hi try this <%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %> in the header of the receiver page
|
DBMS
|
 |
Fouad Fares
Ranch Hand
Joined: Apr 16, 2003
Posts: 38
|
|
hy thanks for your reply but when i added the line you suggested i've got the following error : invalid attribute: pageEncoding and if i ommit that option (pageEncoding="UTF-8") the following error appears : sun.io.MalformatedInputException thanks in advance
|
 |
seby mathew
Greenhorn
Joined: Apr 19, 2006
Posts: 7
|
|
try this in the html source of your .jsp file "<META http-equiv="Content-Type" content="text/html; charset=UTF-8">"
|
 |
Fouad Fares
Ranch Hand
Joined: Apr 16, 2003
Posts: 38
|
|
i have allready tried it with no success please note that i'm using j2ee 1.2 and jdevelopper 9.0.24 thanks
|
 |
seby mathew
Greenhorn
Joined: Apr 19, 2006
Posts: 7
|
|
try this thread http://www.theserverside.com/discussions/thread.tss?thread_id=28944
|
 |
Fouad Fares
Ranch Hand
Joined: Apr 16, 2003
Posts: 38
|
|
hello i've found the following solution: <% request.setCharacterEnconding("Windows-1256"); %> thank your for collaboration [ April 19, 2006: Message edited by: Fouad Fares ] [ April 19, 2006: Message edited by: Fouad Fares ]
|
 |
 |
|
|
subject: passing arabic parameters
|
|
|