Opened 3 years ago

Closed 3 years ago

Last modified 3 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 3 years ago.
ogr_wfs.h (12.6 KB) - added by liminlu0314 3 years ago.
wfs.jpg (177.6 KB) - added by liminlu0314 3 years ago.

Download all attachments as: .zip

Change History (7)

Changed 3 years ago by liminlu0314

Attachment: ogrwfsdatasource.cpp added

Changed 3 years ago by liminlu0314

Attachment: ogr_wfs.h added

comment:1 Changed 3 years ago by Even Rouault

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

comment:2 in reply to:  1 Changed 3 years ago by liminlu0314

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

Changed 3 years ago by liminlu0314

Attachment: wfs.jpg added

comment:3 Changed 3 years ago by Even Rouault

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 Changed 3 years ago by Even Rouault

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