• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Character set encoding issue

 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All ,

I am trying to make a very very simple form text box with submit button i have filled the input text with non-English language like french word but when i submited to next page (process.jsp) i have found it different


by the way I am using eclipse + tomcat + ubuntu and i have set the encoding in eclipse to utf-8 and it worked fine when a test with small .java program.

one more thing i have tested the same application using eclipse + jboss + windows and facing the same issue.

works perfectly with english works fine but does not work with other languages like French , Hindi , Arabic , ..



index.jsp



process.jsp

 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is the encoding lost on the way to the server or from the server to the client ?
 
Suresh Khant
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Deepak for your reply,

Is the encoding lost on the way to the server or from the server to the client ?


how it get lost ? Is that possible ? how to check that it has lost ? (i did not get your question).

by the way I am working locally ( in the same machine).
 
Deepak Bala
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Suresh Khant wrote:Thanks Deepak for your reply,

Is the encoding lost on the way to the server or from the server to the client ?


how it get lost ? Is that possible ? how to check that it has lost ? (i did not get your question).

by the way I am working locally ( in the same machine).



Let me clarify. I meant to ask 'Is the encoded information lost on the way to your server or on the way to the client ?'. Strictly speaking, information is not really lost. It cannot be interpreted if the right encoding is not present. The word is used loosely in this context
 
Suresh Khant
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
information lost on the way to server.
 
Suresh Khant
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All ,

I am really shy from myself , because the cause for this problem was very small and silly thing ............

I am posting the solution for the problem not to show that I am a champ nor am the one who solved the problem but showing the solution only for information.

the missing part is the method of the form



 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic