Closed plamber closed 3 months ago
Hello @plamber . You see this behavior because of default encoding. In order to preserver emojis you'd need to implement your own encoder or disable it all together.
Hi @zjklee, Thank you very much. Do you have a suggestion on how such an encoder can be implemented and injected?
Thank you, Patrick
@plamber
You should have a look at ITextEncoder
and HtmlEncoder
as its implementation.
Thank you. I will have a look into that.
Hi, First of all. Thank you, a lot, for the work done so far. We are using the latest version of HandlebarsDotNet.
We are trying to convert a template with parameters containing an emoji. Find below a code snippet.
The result will be
Is there a way to keep the same output even with emojis?
Thank you for your feedback, Patrick