-
Notifications
You must be signed in to change notification settings - Fork 214
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
Can't seem to handle German umlauts.... #276
Comments
Generally e-mail clients handle encoded characters better than the expanded character sets. It is possible to introduce your own encoder that doesn't do this, on the Configuration object, but I'd wonder why for e-mail. |
This is an issue for my Handlebars scaffolding for EF Core, which in general should suppress HTML encoding. I noticed that |
@rexm If you point me in the right direction, I can submit a PR for this. |
HandlebarsJS has a configuration option |
@rexm : yes, sounds very reasonable and would increase the usefulness of Handlebars.NET - you definitely got my vote on this one! |
👍 For adding this fix to the next version of Handlebars.NET. |
Is there now a NoEscape boolean on configuration? |
Yes, it is available in latest master. Unfortunately it is not yet published. |
I have a template that shows German first and last names - something like
{{firstname}} {{lastname}}
If I provide a name like firstname="Peter", lastname="Müller", I get this in my result string:
Peter Müller
Is there any way in Handlebars.NET to AVOID this encoding? I just want the normal text "Peter Müller" back, since I need this inside an e-mail template.......
The text was updated successfully, but these errors were encountered: