Emojis are not getting Rendered Properly
Tibinsunny opened this issue ยท 4 comments
Hey,
Unicoded Emojies like ๐ ๐ are not Getting Rendered Properly.
Eg:
If I edit my "template_variables" in binserve.json to
"template_variables": {
"load_static": "/static/",
"name": "This is test ๐"
}
The Index page get rendered as ๐
And I believe this is something that should be fixed! Right?
OS:Windows 10 64Bit
Binserve used : binserve-v0.1.0-x86_64-pc-windows-gnu.exe
Hey @Tibinsunny,
Nice Catch! โค๏ธ This is indeed something to be fixed. I think this issue is caused by Handlebars because that's the package doing all the template rendering work so it seems like this should be fixed on their side although there might some hacky way I can sanitize the template_variables
to support Unicode emojis. I will look into it!
Thanks for the detailed issue, I will resolve this ASAP! ๐
Probably related to the UTF-8 flag I mentioned before.
This issue has been fixed! ๐
Thank You @Tibinsunny @robjtede! โค๏ธ๐