pycsw icon indicating copy to clipboard operation
pycsw copied to clipboard

csw:AnyText - Chinese+digital content query doesn't return expected records

Open jiegiser opened this issue 2 years ago • 0 comments

Description

csw:AnyText - Chinese+digital content query doesn't return expected records.

using csw url syntax below:

http://localhost/pycsw?service=CSW&version=2.0.2&request=GetRecords&typeNames=gmd:MD_Metadata&resultType=results&elementSetName=full&Constraint=csw:AnyText%20like%20%27%%E6%A0%87%E9%A2%98%%27&constraintLanguage=CQL_TEXT

the results appear as shown below. image

When I use the "标题43" to search:

http://localhost/pycsw?service=CSW&version=2.0.2&request=GetRecords&typeNames=gmd:MD_Metadata&resultType=results&elementSetName=full&Constraint=csw:AnyText%20like%20%27%%E6%A0%87%E9%A2%9843%%27&constraintLanguage=CQL_TEXT

result:

image

Environment

  • operating system: windows 10
  • Python version: 3.9
  • pycsw version: 2.6
  • source/distribution
    • [x] git clone
    • [ ] DebianGIS/UbuntuGIS
    • [ ] PyPI
    • [ ] zip/tar.gz
    • [ ] other (please specify):
  • web server
    • [x] Apache/mod_wsgi
    • [ ] CGI
    • [ ] other (please specify):

Steps to Reproduce

Additional Information

jiegiser avatar Dec 03 '22 03:12 jiegiser