• Post Reply Bookmark Topic Watch Topic
  • New Topic

Decode to NCR problem(urgent)

 
Dorj Galaa
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to Decode äö to ��
 
Kareem Gad
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i think i understand what you mean.
just give me more details on your situation and i might have the solution for u

------------------
KaReEm
 
Dorj Galaa
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Task is read form data and write to MySQL table. if client use Cyrillic(Windows) encoding my JSP read &ä&ö string. if client use ISO-8859-1 encoding JSP read ???
why?
 
Kareem Gad
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is indifferent what the client uses, Dorj you need to add the appropriate encoding header in your HTML page that will have the form and the same one in the HTML page that will show the data from mySQL
JSP works fine irrespective of the enc type.
the html enc header should look something like this
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
this will override what the client's browser is using so put your ISO-8859-1 instead of windows-1256 and see what happens
tell me what happens
------------------
KaReEm
[This message has been edited by Kareem Gad (edited September 10, 2001).]
 
Dorj Galaa
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!