Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#5354 closed defect (fixed)

OGR WFS can't get layer and server use of Chinese

Reported by: liminlu0314 Owned by: warmerdam
Priority: normal Milestone: 1.11.0
Component: OGR_SF Version: svn-trunk
Severity: normal Keywords: WFS Chinese
Cc:

Description

OGR WFS can't get layer and server use of Chinese. Attached is my modified source code, this cant be get layer name use of Chinese, but the Chinese service names are still part of the problem. an even number of characters correctly, odd characters error

Attachments (3)

ogrwfsdatasource.cpp (76.1 KB ) - added by liminlu0314 10 years ago.
ogr_wfs.h (12.6 KB ) - added by liminlu0314 10 years ago.
wfs.jpg (177.6 KB ) - added by liminlu0314 10 years ago.

Download all attachments as: .zip

Change History (7)

by liminlu0314, 10 years ago

Attachment: ogrwfsdatasource.cpp added

by liminlu0314, 10 years ago

Attachment: ogr_wfs.h added

comment:1 by Even Rouault, 10 years ago

Can you give the name of a public server and the request you are trying that make your changes necessary ?

in reply to:  1 comment:2 by liminlu0314, 10 years ago

Replying to rouault:

Can you give the name of a public server and the request you are trying that make your changes necessary ?

The WFS service we used is LAN and can't be accessed through Internet. Blow is an URL we used for test, in which the "%e5%93%88%e5%93%88" represent "哈哈" in Chinese.

http://172.24.3.35/arcgis/services/NewFolder/ha/MapServer/WFSServer?request=GetFeature&version=1.0.0&service=wfs&typeName=NewFolder_ha:%e5%93%88%e5%93%88

by liminlu0314, 10 years ago

Attachment: wfs.jpg added

comment:3 by Even Rouault, 10 years ago

Milestone: 1.11.02.0
Resolution: fixed
Status: newclosed

ok, I could reproduce with a local MapServer instance.

trunk r26850 "WFS: accept TYPENAME(S) in URL with characters escaped by '%' (patch by liminlu0314, #5354)"

comment:4 by Even Rouault, 10 years ago

Milestone: 2.01.11.0
Note: See TracTickets for help on using tickets.