473,320 Members | 2,000 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Problem with Accented Characters

58
Hi all,
I am facing a strange issue.
i.e: I have a jsp page with an input text field where the user can enter searching value even along with Accented Characters.After that i am getting the input value at the controller inorder to compose a query,before that i am replacing Accented Characters with plain text values so that i can append the proper input value in the DBquery.

I tried to replace the input string for Accented Characters in a seperate java program,it worked well,but wen i try the same inside my controller,i am getting a additional ? symbol along with the input string for each Accented Characters that i entered in the jsp input text field,at the same time the Accented Characters entered in the input text field get changed as follows

Ä gets changed as Ä after hitting the search button in the jsp page.

can any one help me regarding this???

Thanks in advance,
sundar
Sep 11 '07 #1
4 2866
Nepomuk
3,112 Expert 2GB
Isn't this the same issue as this thread of yours?

Please don't double post.

Greetings,
Nepomuk
Sep 11 '07 #2
gsuns82
58
Isn't this the same issue as this thread of yours?

Please don't double post.

Greetings,
Nepomuk
There is a vast difference between my two posts,pls read it carefully before making any comments...

regards,
sundar
Sep 12 '07 #3
Nepomuk
3,112 Expert 2GB
There is a vast difference between my two posts,pls read it carefully before making any comments...

regards,
sundar
OK, sorry, my mistake.

So, about the issue: How do you call the program, which replaces the letters? And are you absolutely sure, that the program doesn't add a unprintable character, which is displayed differently in those two uses? (In the program itself it just doesn't print and with your new program using it, it prints it as a questionmark.)

Please post some relevant code, otherwise we won't be able to find the error.

Greetings and Apologies,
Nepomuk
Sep 12 '07 #4
gsuns82
58
OK, sorry, my mistake.

So, about the issue: How do you call the program, which replaces the letters? And are you absolutely sure, that the program doesn't add a unprintable character, which is displayed differently in those two uses? (In the program itself it just doesn't print and with your new program using it, it prints it as a questionmark.)

Please post some relevant code, otherwise we won't be able to find the error.

Greetings and Apologies,
Nepomuk
its ok,i found the solution by adding following code to my jsp
<%@page language="java" contentType="text/html; charset=ISO-8859-1" %>.
The prblm i had was accented characters were not regonized while processing the http request as we need to set proper charset value in our jsp page.

Thanks&Regards,
sundar
Sep 13 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Fuzzyman | last post by:
I've written an anagram finder that produces anagrams from a dictionary of words. The user can load their own dictionary. ( http://www.voidspace.org.uk/atlantibots/nanagram.html ) In order to...
0
by: Jeff Levinson [mcsd] | last post by:
I don't know of a component like that, but it is really easy to do yourself. First, the String.Replace function is unicode based so it's quite easy to use extended and standard characters...
2
by: Remco van den Berg | last post by:
I'm running a MySQL database with one of tables holding the members of a volleybal club in the Netherlands. One the the fields in that table is holding the name of the players. How do I search...
23
by: Brian | last post by:
Despite charset being discussed to death, and despite having followed all of those threads, I still have problems. http://www.tsmchughs.com/recipes/soda-bread This page uses iso-8859-1...
4
by: Satish | last post by:
Hi Gurus, Please help me in this, I have tried all options available to me. (Option 1) I am making a simple request from VB.NET client to WBI generated WSDL and passing request parameters. The...
9
by: JezB | last post by:
Is there anything in the framework which will help translate accented characters in strings to their standard counterparts? eg. "Gráda" to "Grada"
0
by: Patrick Cailly : METRONOME & BASIC | last post by:
for test purpose I transfered a database 7.1.2 SQL_ASCII that contained ( pg_dump ) accented french characters to a 7.3.2 SQL_ASCII and the problem is that the accented characters are wrong. (...
2
by: gsuns82 | last post by:
Hi all, I have to replace accented characters from a input string with normal plain text.I have coded as follows. String input = "ÄÀÁÂÃ"; input=...
1
by: gsauns | last post by:
I have an ASP.NET app in which I import from a comma-delimited text file, put all that data in a GridView, and then insert the records into multiple related tables in my SQL Server database. I...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.