[GRASS-dev] 回复: grass-dev Digest, Vol 62, Issue 11

Hello, when I connect postgresql with GRASS, example: g.copy vect=roads,myroads,
the roads include chinese attributes ,it appear “Invalid UTF8 coded byteorder:0xd3e0"
HINT:If the byteorder unmatch with the server expection coded (it control by clinet_encoding), it may occur this error. Please give me some advise . thank you so much.

11年6月7日,周二, grass-dev-request@lists.osgeo.org grass-dev-request@lists.osgeo.org 写道:


> 发件人: grass-dev-request@lists.osgeo.org grass-dev-request@lists.osgeo.org
> 主题: grass-dev Digest, Vol 62, Issue 11
> 收件人: grass-dev@lists.osgeo.org
> 日期: 2011年6月7日,周二,上午12:00
>
> Send grass-dev mailing list submissions to
> grass-dev@lists.osgeo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.osgeo.org/mailman/listinfo/grass-dev
> or, via email, send a message with subject or body ‘help’ to
> grass-dev-request@lists.osgeo.org
>
> You can reach the person managing the list at
> grass-dev-owner@lists.osgeo.org
>
> When replying, please edit your Subject line so it is more specific
> than “Re: Contents of grass-dev digest…”
>
> Today’s Topics:
>
> 1. Re: First java module with native grass7 library access
> (andrea antonello)
> 2. get_proj() python function (Luca Delucchi)
> 3. Re: get_proj() python function (Glynn Clements)
> 4. Re: get_proj() python function (Luca Delucchi)
>
> _______________________________________________
> grass-dev mailing list
> grass-dev@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev

2011/6/7 薛杰 <xuejie1317@yahoo.cn>

Hello, when I connect postgresql with GRASS, example: g.copy vect=roads,myroads,
the roads include chinese attributes ,it appear “Invalid UTF8 coded byteorder:0xd3e0"
HINT:If the byteorder unmatch with the server expection coded (it control by clinet_encoding), it may occur this error. Please give me some advise . thank you so much.

Is your postgresql db in UTF8? does it support chinese attributes?

--
regards
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org