Skip to content

UTF-8 characters in search query #2

@Siebe

Description

@Siebe

When I enter UTF-8 valid characters as search query like https://api.podcastindex.org/api/1.0/search/byterm?q=路书
I expect to see matching results, at least one, being feedID 1057395 with title "路书"
Instead I get a 200 result back from the server without any results

The database dump is UTF-8 valid, I can find all these locally with sqlite. Somewhere between the endpoint and database a part of the character set seems to get lost.

more (4 byte i guess) UTF-8 stuff:
https://api.podcastindex.org/api/1.0/search/byterm?q=ह्रद्रव - id 1241499
https://api.podcastindex.org/api/1.0/search/byterm?q=€ - id 599868
https://api.podcastindex.org/api/1.0/search/byterm?q=ش - id 1252619
... and all emoji's.. if you'd ever want to search on those...

edit: orignal report https://podcastindex.social/web/statuses/104943195094223980

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions