<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
This is caused by CDI/Weld. See <a
href="https://issues.jboss.org/browse/WELD-1467">https://issues.jboss.org/browse/WELD-1467</a>
and <a href="https://issues.jboss.org/browse/CDI-411">https://issues.jboss.org/browse/CDI-411</a><br>
<br>
Marko<br>
<br>
<br>
On 12.1.2014 18:25, Leos Literak wrote:<br>
</div>
<blockquote cite="mid:20140112182505.E9533027@centrum.cz"
type="cite">
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">Hi,</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">I installed WF CR1 and
started to create simple web application consisting of one
servlet and one JPA entity. But when I ran it, I found that
encoding is incorrect. After many many hours of investigation I
realized that if there is servlet only then I receive form
parameter in correct encoding. But if I bundle JPA part then
encoding is incorrect. The encoding is even broken in my filter
already. There is parsedFormData property with data and it has
wrong charset already. I do not know undertow-io so it is hard
for me to guess who parses this data and when. It is really
strange, why this behaviour depends on JPA usage in war.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">I can provide complete
(short) sources: <a moz-do-not-send="true"
href="https://drive.google.com/file/d/0B-adlc5KThQDWTdYOEwxOUpTVEU/edit?usp=sharing">https://drive.google.com/file/d/0B-adlc5KThQDWTdYOEwxOUpTVEU/edit?usp=sharing</a></p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">SO question:
<a class="moz-txt-link-freetext" href="http://stackoverflow.com/questions/21068291/servlet-character-encoding-issue-with-jpa/21074074?noredirect=1#21074074">http://stackoverflow.com/questions/21068291/servlet-character-encoding-issue-with-jpa/21074074?noredirect=1#21074074</a></p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">I really do not
understand this problem.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">Thanks for your help</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">Leos</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
wildfly-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/wildfly-dev">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a></pre>
</blockquote>
<br>
</body>
</html>