[infinispan-issues] [JBoss JIRA] (ISPN-9430) Avoid JVM dictacting charset

Galder Zamarreño (JIRA) issues at jboss.org
Wed Aug 15 10:30:00 EDT 2018


Galder Zamarreño created ISPN-9430:
--------------------------------------

             Summary: Avoid JVM dictacting charset
                 Key: ISPN-9430
                 URL: https://issues.jboss.org/browse/ISPN-9430
             Project: Infinispan
          Issue Type: Bug
            Reporter: Galder Zamarreño
            Assignee: Gustavo Fernandes


{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}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the infinispan-issues mailing list