pycsw
pycsw copied to clipboard
csw:AnyText - Chinese+digital content query doesn't return expected records
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.

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:

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):