[Geoserver-users] chinese fields returned right, the value returned wrong like"????????" with getFeaturInfo in geoserver 1.7.0

hi all:
   I load a shapefile into GeoServer 1.7.0, everything
is ok. it publish a wms service, and wfs service. When
i use getFeaturInfo to retrieve the information about
the feature, it return with html results which include
chinese fields and chinese value. The most strange is
that the chinese fields returned right, the value
returned wrong like"???". why?

      ___________________________________________________________
ÑÅ»¢ÓÊÏ䣬ÄúµÄÖÕÉúÓÊÏ䣡
http://cn.mail.yahoo.com/

zhuhua zha ha scritto:

hi all:
   I load a shapefile into GeoServer 1.7.0, everything
is ok. it publish a wms service, and wfs service. When
i use getFeaturInfo to retrieve the information about
the feature, it return with html results which include
chinese fields and chinese value. The most strange is
that the chinese fields returned right, the value
returned wrong like"???". why?

We're experiencing issues with data in charset other
than the english ones. What kind of data source are you
using? Can I have a copy of it to do some tests?

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Hi Andrea. We've had problems updating and inserting Unicode (in our case, Inuktitut syllabics) with WFS-T before but didn't have time to nail down where the problem was.

A handy site to help you out with content for testing is:

http://www.inuktitutcomputing.ca/Inuktitut/Transcoder/Transcoder.jsp?lang=en

Just type something in and transcode from Roman Alphabet to Unicode. If you are on a mac, the glyphs should render fine (the Euphemia UCAS font is included on macs).

If you are on Windows, you'll need to install a font that supports those glyphs. A collection of unicode fonts that have glyphs for the characters generated by the transcoder can be found here:

http://www.inuktitutcomputing.ca/ressources_globales/en/InuktitutFontsAndDrivers.htm

I hope that helps. If you are digging in and/or developing test routines, hopefully you can include reading/writing unicode to postgis via WFS/WFS-T.

If I get back to that myself, I'll be sure to update you with my findings and/or file bugs.

--
Amos Hayes
Geomatics and Cartographic Research Centre
Carleton University
ahayes@anonymised.com
+1.613.520.2600x8179

On 30-Oct-08, at 9:44 AM, Andrea Aime wrote:

zhuhua zha ha scritto:

hi all:
  I load a shapefile into GeoServer 1.7.0, everything
is ok. it publish a wms service, and wfs service. When
i use getFeaturInfo to retrieve the information about
the feature, it return with html results which include
chinese fields and chinese value. The most strange is
that the chinese fields returned right, the value
returned wrong like"???". why?

We're experiencing issues with data in charset other
than the english ones. What kind of data source are you
using? Can I have a copy of it to do some tests?

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

hi Andrea Aime:
  the attach is the test shapefile. It is ok when i
use Geoserver 1.6.5.
--- Andrea Aime <aaime@anonymised.com>дµÀ:

zhuhua zha ha scritto:
> hi all:
> I load a shapefile into GeoServer 1.7.0,
everything
> is ok. it publish a wms service, and wfs service.
When
> i use getFeaturInfo to retrieve the information
about
> the feature, it return with html results which
include
> chinese fields and chinese value. The most strange
is
> that the chinese fields returned right, the value
> returned wrong like"???". why?

We're experiencing issues with data in charset other
than the english ones. What kind of data source are
you
using? Can I have a copy of it to do some tests?

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

      ___________________________________________________________
ÑÅ»¢ÓÊÏ䣬ÄúµÄÖÕÉúÓÊÏ䣡
http://cn.mail.yahoo.com/