Skip to content

How to accept non-English characters in the get parameter? #3132

Closed Answered by Alc-Alc
MrPandir asked this question in Q&A
Discussion options

You must be logged in to vote

Heya, I don't think anything is wrong with Litestar here. You have to url-encode your query parameter in your curl request.

curl -G 'http://localhost:8000/' --data-urlencode 'text=prüfen'
curl -G 'http://localhost:8000/' --data-urlencode 'text=тест'

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MrPandir
Comment options

Answer selected by MrPandir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants