XForms sending UTF-8?
Daniel Thommes <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Hi, I'm trying to get Mozilla XForms working together with a Java-Servlet. I want the form to send utf-8 encoded data because auf the german special-chars. At this point X-Smiles and Formsplayer for IE work (after all) without problems sending utf-8. But when I use special chars in Firefox, there are strange letters reaching the Server. Is there still no possibility to use utf-8? Or what am I doing wrong? Greetings Daniel here the XForm (simple guestbook): <?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/> <link rel="stylesheet" type="text/css" href="../css/guestbook.css" /> <xforms:model schema="../schemas/guestbook.xsd"> <xforms:instance xmlns=""> <guestbook> <guest> <name/> <url/> <email/> <date>2005-05-01T13:37:00</date> <message/> </guest> </guestbook> </xforms:instance> <xforms:submission id="send" action="../guestservlet" method="post" encoding="UTF-8"/> </xforms:model> </head> <body> <h1>XML-Guestbook</h1> <p> <xforms:input ref="/guestbook/guest/name"> <xforms:label>Name</xforms:label> </xforms:input> </p> <p> <xforms:input ref="/guestbook/guest/url"> <xforms:label>URL</xforms:label> </xforms:input> </p> <p> <xforms:input ref="/guestbook/guest/email"> <xforms:label>e-mail</xforms:label> </xforms:input> </p> <p> <xforms:input ref="/guestbook/guest/message"> <xforms:label>message</xforms:label> </xforms:input> </p> <p> <xforms:submit submission="send"> <xforms:label>send</xforms:label> </xforms:submit> </p> </body> </html>