You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I made a project with handlebars. It works great and does what it has to do.
The only problem I have is that with a custom helper I do not get the language specific characters thru.
For the sake of simplicity this is what I have:
Handlebars.registerHelper('html10n', function (str) {
return "ß ăî ومض";
});
I call it with: {{html10n "blablabla"}}
Unfortunately I get this output: � ?� ???
Even worse than this is that on http://tryhandlebarsjs.com/ my helper works flawlessly and the ouput is ß ăî ومض
Do you have any pointers on this?
Thanks.
The text was updated successfully, but these errors were encountered:
Hello,
I made a project with handlebars. It works great and does what it has to do.
The only problem I have is that with a custom helper I do not get the language specific characters thru.
For the sake of simplicity this is what I have:
I call it with:
{{html10n "blablabla"}}
Unfortunately I get this output: � ?� ???
Even worse than this is that on http://tryhandlebarsjs.com/ my helper works flawlessly and the ouput is ß ăî ومض
Do you have any pointers on this?
Thanks.
The text was updated successfully, but these errors were encountered: