[ 
http://jira.codehaus.org/browse/GEOS-4263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oscar Fonts reopened GEOS-4263:
-------------------------------


Reopened for review.

> UTF-8 encoding in SLD editor & validator
> ----------------------------------------
>
>                 Key: GEOS-4263
>                 URL: http://jira.codehaus.org/browse/GEOS-4263
>             Project: GeoServer
>          Issue Type: Bug
>          Components: UI
>    Affects Versions: 2.0.2
>         Environment: Tested in: Win7 32b, SUN JRE 1.6.0.x, Jetty, Geoserver 
> 2.0.x, Firefox 3.6.x
>            Reporter: Oscar Fonts
>            Assignee: Andrea Aime
>            Priority: Minor
>             Fix For: 2.1-RC1
>
>         Attachments: geoserver-sld-utf8.patch, GS-21b3.png, 
> PolygonWithAccents-UTF8.sld, web-wms-2.1-SNAPSHOT.jar
>
>
> Writing special chars directly in SLD editor textarea throws a 
> "java.io.UTFDataFormatException: Invalid byte 2 of 4-byte UTF-8 sequence." 
> when submitting.
> When loading an UTF-8 encoded SLD into editor, it appears as double-encoded 
> (v.gr. "ò" rendrered as "ò", etc.). Not eye-pleasant, but that is what the 
> validator wants.
> In conclusion: SLD with special chars cannot be created/edited online because 
> of double encoding in source.
> ---
> Attached: SLD with accents encoded in UTF-8, & screen capture of this same 
> file in SLD editor.

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

       

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to