VocaDB / vocadb

VocaDB is a Vocaloid Database with translated artists, albums, music videos and more.
https://vocadb.net
Other
321 stars 39 forks source link

Search does not support astral (post-BMP) Unicode? #1672

Open szc126 opened 5 months ago

szc126 commented 5 months ago

Website (required)

VocaDB

Describe the bug (required)

Searches for post-BMP (emoji, etc.) Unicode characters seem to be nearly equivalent to searching for nothing / listing every song registered in the database.

To Reproduce (optional)

Steps to reproduce the behavior:

  1. Go to the Songs page
  2. Enter 🥺 (U+1F97A) or 𰻞 (U+30EDE)
  3. 522988 song results (as opposed to 522990 results without a search keyword)

Expected behavior (optional)

VocaDB / the VocaDB API returns search results that contain the keyword. Compare https://www.google.com/search?q=🥺+site%3Avocadb.net

Screenshots (optional)

N/A

Desktop (optional)

N/A

Smartphone (optional)

N/A

Additional context (optional)

Add any other context about the problem here.

Checklist (required)

Fill out the checklist. Use strikethroughs or leave fields empty if you don't know or are unable to check/test.

FinnRG commented 5 months ago

This is a result of the Finnish_Swedish_CI_AS collation. Related to #1618.