[
https://issues.jboss.org/browse/ISPN-9430?page=com.atlassian.jira.plugin....
]
Gustavo Fernandes updated ISPN-9430:
------------------------------------
Description: byte[] content sent to the server (was: {code}
Galder: I wanted to ask you about "application/json; charset=utf-8"
Galder: You'd send id=2 and one parameter charset=utf-8 as string?
Galder: id=2 with pre-defined media type I mean...
Galder: Is that right?
Gustavo: one sec (tel)
Gustavo: hi
Gustavo: If I'm not wrong, UTF-8 is the default
Gustavo: so you'd send id=2
Gustavo: let me check
Galder: Ok, let me know
Gustavo: oh crap
Gustavo: it ends up reading as Charset.defaultCharset().name()
Gustavo: it works only because I think UTF-8 is default everywhere
Gustavo: so the JVM uses the property "file.encoding", and it it's absent,
it uses UTF-8
Galder: ok, should be forced to UTF-8
Gustavo: yes, I should not let it propagate to the JVM :)
Gustavo: could you open a JIRA and assign to me?
{code})
Assume UTF-8 for incoming text content without charset
------------------------------------------------------
Key: ISPN-9430
URL:
https://issues.jboss.org/browse/ISPN-9430
Project: Infinispan
Issue Type: Bug
Reporter: Galder ZamarreƱo
Assignee: Gustavo Fernandes
byte[] content sent to the server
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)