I have managed to figure out how to do UTF-8 for everyting except input
boxes.  The problem is in this:

I input "�tre" into a text field, if I use JavaScript to display the value
of the field, it says "�tre".  But when it arrives at the server, it is
converted to UTF-8, which ends up converting the � into a two byte
character, but not the right ones (it is actually a ISO-8859-1 conversion,
not a UTF-8.  You can see the same effect by switching Eclipse into
ISO-8859-1 mode, create an HTML, put in an �, save it and reload it, you
great screwed up text.  Switch into UTF-8 mode, delete the garbage and
re-insert the �, save, reload, everything fine).

What I'm wondering is:  Does anyone know how to get the result of input
fields in UTF-8, encoded properly.  I can switch the charset of the page to
ISO-8859-1 and have it return proper values, but then the dynamic data will
not display properly on the UTF-8 pages (which is the mode I need to edit
them in inorder to use Eclipse).




-------------------------------------------------------
This SF.NET email is sponsored by:  The Best Geek Holiday Gifts!
Time is running out!  Thinkgeek.com has the coolest gifts for
your favorite geek.   Let your fingers do the typing.   Visit Now.
T H I N K G E E K . C O M        http://www.thinkgeek.com/sf/
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to