[ 
https://issues.apache.org/jira/browse/STANBOL-395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fabian Christ resolved STANBOL-395.
-----------------------------------

    Resolution: Fixed

As no one is complaining that this issue is still a problem I set this to 
resolved. My tests did not reproduce the problem in the current head.
                
> Encoding of enhancer json result
> --------------------------------
>
>                 Key: STANBOL-395
>                 URL: https://issues.apache.org/jira/browse/STANBOL-395
>             Project: Stanbol
>          Issue Type: Improvement
>          Components: Enhancer
>         Environment: LAMP
>            Reporter: Rene Kapusta
>            Assignee: Fabian Christ
>              Labels: encoding, json, json-ld,
>
> When accessing the enhancer results via the REST service the encoding is 
> wrong.
> The problem is that PHP json_decode() expects UTF-8 and in prior versions of 
> stanbol the json result was fine.
> Now it's not UTF-8 any more (although stated in the header).
> OK: http://dev.iks-project.eu:8080/engines/
> --> header: Content-Type: application/rdf+json; charset=UTF-8
> --> mb_detect_encoding() tells: UTF-8
> NOT OK: http://dev.iks-project.eu:8081/engines/
> --> header: Content-Type: application/rdf+json; charset=UTF-8
> --> mb_detect_encoding() tells: ASCII
> Other related problem:
> I also send the header "Accept: application/json" what should result in a 
> JSON-LD response (like using the dropdown of the web interface) but I get 
> back "application/rdf+json" (RDF/JSON)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to