[Geoserver-devel] [jira] Created: (GEOS-3648) Problem with visualization of cp1251 shapefiles and WMS-replies

Problem with visualization of cp1251 shapefiles and WMS-replies
---------------------------------------------------------------

                 Key: GEOS-3648
                 URL: http://jira.codehaus.org/browse/GEOS-3648
             Project: GeoServer
          Issue Type: Bug
          Components: Global
    Affects Versions: 2.0.0
         Environment: SunOS a0 5.10 Generic_127128-11 i86pc i386 i86pc
            Reporter: Igoshin Lev
            Assignee: Andrea Aime
         Attachments: GeoCharBug.jpg, GeoCharNormal.jpg

All my shapefiles are in cp1251 charset.

When adding new store, i set charset to cp1251(or windows-1251 - no matter, no effect in any case).
After that, i'm creating new layer and new style for it.

After that, geoserver shows all labels using ISO 8859-1 (Latin-1) charset instead of cp1251 charset. (See GeoCharBug attachment)
Also, WMS requests for GetFeatureInfo returns all data using ISO 8859-1 (Latin-1) charset instead of cp1251 charset too.

By default, GeoServer's charset is set to UTF-8.
Nevertheless, changing it to cp1251 (or windows-1251) takes no effect on images, but WMS requests for GetFeatureInfo returns all cp1251 encoded data as set of '?'.

Changing fonts in TextSymbolizer section of style's SLD takes no effect at all - fonts changes accordingly, but content not.

I have all same data set up on GeoServer 1.7.х - no problems, all cp1251 encoded data displayed properly.(See GeoCharNormal attachment)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira