[ 
https://issues.apache.org/jira/browse/SOLR-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12990104#comment-12990104
 ] 

Uwe Schindler commented on SOLR-96:
-----------------------------------

Just a comment for Robert:

RFC-3023 say, text/xml without charset should be handled as US-ASCII by the 
transport layer (HTTP). So text/xml mime-type without charset only affects 
currently proxies or other components inbetween that *may* transform the 
charset during the HTTP processing.

XML parsers by definition only take a byte stream and a charset hint and use 
the XML 1.0 spec to determince the charset: 
[http://www.w3.org/TR/REC-xml/#charencoding]

> Solr should support alternate charsets for XML update messages
> --------------------------------------------------------------
>
>                 Key: SOLR-96
>                 URL: https://issues.apache.org/jira/browse/SOLR-96
>             Project: Solr
>          Issue Type: Improvement
>          Components: update
>            Reporter: Hoss Man
>            Assignee: Uwe Schindler
>             Fix For: 3.1, 4.0
>
>         Attachments: SOLR-96.patch
>
>
> At the moment, the XML messages sent to solr to add/delete documents must be 
> in UTF-8.  The imput processing should be changed to determine the charset 
> based on the HTTP header info, or the XML contents.
> Background and refrence material...
> http://www.nabble.com/double-curl-calls-in-post.sh--tf2287469.html#a6369448
> http://www.nabble.com/wana-use-CJKAnalyzer-tf2303256.html#a6451918
> http://www.ietf.org/rfc/rfc3023.txt
> http://www.w3.org/TR/REC-xml/#sec-guessing

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to