Closed KakaWanYifan closed 3 years ago
I added support of Chinese language for docker container petersolopov/carbonara
.
But endpoint POST carbonara.vercel.app/api/cook
works inside Vercel Serverless Functions. I can't change runtime there. And it don't support docker deployment.
thanks for your job @petersolopov
i got the same err about chinese str
would you change POST carbonara.vercel.app/api/cook
runtime env ?
just a wish
Hello @petersolopov, even emojis are not supported by the api
And same boxes appeared in their place.
Even carbon.now.sh
supports emoji(s), in images.
Want to ask, can carbonara
support emoji(s) too please?.
Hi! Yeah, it is the same problem.
I'll try to find other PaaS or hosting with fully Unicode supporting.
I found that heroku supports docker deployment. Try new endpoint. Now It should work with Chinese and Emoji:
curl -L https://carbonara-42.herokuapp.com/api/cook \
-X POST \
-H 'Content-Type: application/json' \
-d '{
"code": "中文 😀",
"backgroundColor": "#1F816D"
}' \
> code.png
The old endpoint continue working with new updates but limited unicode support. Feel free to reopen issue.
just like {"code":"中文"}
but I got
[]