[Geoserver-users] GeoJSON with UTF-8

Hi Christ,
I have installed GeoJSON on GeoServer 1.5.2. I try to send WFS request with “OUTPUTFORMAT=JSON”, but I receive a response text not in UTF-8, my browser displays the content with charset=ISO-8859-1, so I can not view the content in my language (Vietnamese).
Please help me to fix it.
Best Regards,


Tai Nguyen Anh
Member of CIREN - Information Center of Natural Resources and Environment.
Member of JVN-GIS Team (JavaVietnam Community).
36 Ly Van Phuc St., Dist. 1, Ho Chi Minh City, Vietnam.
Tel: (084) 089 038 217
Email: taina@anonymised.com
Website: http://ciren.vn, http://www2.hcm.ciren.gov.vn/jvnwebgis , http://www2.hcm.ciren.gov.vn/cirengis

Hmmm... Yeah, I didn't think much about character encoding when coding it up quickly. Could you file a task in Jira? I don't think it should be that hard to fix, and once it's done we should be able to get geojson in the main distribution. See: http://docs.codehaus.org/display/GEOSDOC/1+Reporting+Issues

thanks,

Chris

an tin wrote:

Hi Christ,
I have installed GeoJSON on GeoServer 1.5.2. I try to send WFS request with "OUTPUTFORMAT=JSON", but I receive a response text not in UTF-8, my browser displays the content with charset=ISO-8859-1, so I can not view the content in my language (Vietnamese).
Please help me to fix it.
Best Regards,

--
Tai Nguyen Anh
Member of CIREN - Information Center of Natural Resources and Environment.
Member of JVN-GIS Team (JavaVietnam Community).
36 Ly Van Phuc St., Dist. 1, Ho Chi Minh City, Vietnam.
Tel: (084) 089 038 217
Email: taina@anonymised.com <mailto:taina@anonymised.com>
Website: http://ciren.vn, http://www2.hcm.ciren.gov.vn/jvnwebgis, http://www2.hcm.ciren.gov.vn/cirengis !DSPAM:4005,46bcaf28120421431913854!
------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

!DSPAM:4005,46bcaf28120421431913854!
  ------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4005,46bcaf28120421431913854!