#015267: Solr Handler should allow to specify character encoding

Description:

The default installation of tomcat (not only in Debian) uses ISO-8859-1 as default encoding.[1] eZ Components uses utf-8, when it assumes an encoding.
Every user of ezcSearch therefor needs to change the default configuration of Tomcat to utf-8.

An alternative would be to allow to send the character encoding in the Solr Handler and set it to utf-8 as default. This can be done by sending a Content-Type: text/html; charset=utf-8 header.

To avoid too many parameters, one could extract the HTTP related methods from solr handler into a separate object, that could be configured.

[1] http://wiki.apache.org/tomcat/FAQ/CharacterEncodingurl


Environment:

Operating System:
PHP Version: (please be specific, like '4.4.3' or '5.1.5')
Database and version:
Browser (and version):


- Attachments

No attachments for this issue.


- Comments

Fixed in SVN rev. 11037, but only by forcing the header in the client. eZ Components only deals with UTF-8 where possible. Also, the header is not text/html, but text/xml in this case.

#263740 by Derick Rethans on November 5th, 2009 [Permanent Link]

- History
Properties
Type Enhancement
Priority Medium
Component Components » Search
Affects Unknown
Fix Versions 2009.2 sprint 3 - eZ components 2009.2 sprint 3
2009.2alpha1 - eZ components 2009.2alpha1
Reporter Thomas Koch
Responsible Derick Rethans
Status 0 Closed
Resolution Implemented
Created August 10th, 2009
Updated November 5th, 2009
Resolved November 5th, 2009
 
Navigation [Permanent Link]
Previous Issue
Back to Issues List
Next Issue: #015537
  Graph shows to small and truncated rotated axis labels