-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some kind of overlay texts generate urls which cause 400 Bad Request
#474
Comments
Hi @ttanimichi, including emojis in text overlays can be done by double encoding the emoji as explained here:https://support.cloudinary.com/hc/en-us/articles/360003457091-How-to-overlay-emojis-in-images. Please note that not all emojis are supported. You can refer here for the list of supported emojis: https://www.piliapp.com/symbol/ |
@michalkcloudinay Thank you for your reply. foo('漢字') # Most of chinese characters are No Problem
foo('あいうえお') # Japanese Hiragana letters are also No Problem
foo('𩸽') # => 400 Bad Request (OpenURI::HTTPError)
foo('𡈽') # => 400 Bad Request (OpenURI::HTTPError)
foo('𠀋') # => 400 Bad Request (OpenURI::HTTPError) I found that the bytesize of
Probably, overlay texts of 4-bytesize Unicode characters cause this error. Isn't it a bug of Cloudinary API, is it? |
One of my best friend Mr. 𡈽田 (Tsuchida) can't display his name as overlay texts since his family name contains |
Hi @ttanimichi, for 4-bytesize Unicode characters you would need to use a double encoding. For example: |
@michalkcloudinay Thanks! I'll try it next week and let you know the result |
Great! Let us know how it goes. |
Hi @ttanimichi - just wanted to follow up on this to see if you had a chance to test this and if it worked for you? |
Some kind of overlay texts generate urls which cause
400 Bad Request
Describe the bug in a sentence or two.
Issue Type (Can be multiple)
Operating System
Environment and Libraries (fill in the version numbers)
The text was updated successfully, but these errors were encountered: