Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > char encoding in hidden inputs

Reply
Thread Tools

char encoding in hidden inputs

 
 
Pif
Guest
Posts: n/a
 
      12-21-2009
Hello,

I've latin1 characters in my HTML page. I've inputs with text and hidden
types. Text inputs are well decoded in my servlet (Tomcat 5.5), those in
hidden inputs are not well decoded.

I've added the accept-charset attribute in my form : this works in FF
but not in IE.

I know that it works in other part of the website on wich I work, but I
don't see difference and why mine does'nt work.

Thanks a lot for your help.
 
Reply With Quote
 
 
 
 
Jukka K. Korpela
Guest
Posts: n/a
 
      12-22-2009
Pif wrote:

> I've latin1 characters in my HTML page.


URL?

> I've inputs with text and
> hidden types. Text inputs are well decoded in my servlet (Tomcat
> 5.5), those in hidden inputs are not well decoded.


There's something you haven't told us (hint: URL).

> I've added the accept-charset attribute in my form : this works in FF
> but not in IE.


What's the encoding of your document. (Hint: the URL would tell this,
indirectly but nicely.)

> I know that it works in other part of the website on wich I work, but
> I don't see difference and why mine does'nt work.


Still less can we see that, since you didn't give us even one URL.

--
Yucca, http://www.cs.tut.fi/~jkorpela/

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
hidden inputs and viewstate dawidg ASP .Net 2 06-11-2008 03:14 PM
scanf hangs when taking multiple inputs in a char array Adi C Programming 2 11-03-2006 03:05 PM
(const char *cp) and (char *p) are consistent type, (const char **cpp) and (char **pp) are not consistent lovecreatesbeauty C Programming 1 05-09-2006 08:01 AM
/usr/bin/ld: ../../dist/lib/libjsdombase_s.a(BlockGrouper.o)(.text+0x98): unresolvable relocation against symbol `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostre silverburgh.meryl@gmail.com C++ 3 03-09-2006 12:14 AM
CGI.pm and special characters in hidden inputs tsunami@zedxinc.com Perl Misc 15 12-30-2004 03:58 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57