-
Notifications
You must be signed in to change notification settings - Fork 235
Description
Hi,
I'm currently trying to use Handlebars.NET (2.0.4)
One of the need I have is to use Japanese "placeholders" (thus with UTF-8 and not ASCII)
Here is an example with Handlebar.js:
So it seems it works well on the JS version
Unfortunately, when I try the same thing with the .NET version the parsing fail with an error like this:
": 'Reached unparseable token in expression: 姓}}"
Interestingly, if I name my placeholder starting with ASCII characters (ex: {{a姓}}, or {{_姓}}) it works well no matter how many UTF-8 characters there is inside the placeholder
So it really seems that the first character is somehow important
Is this a limitation of the .NET implementation ? Or maybe I need to change some settings ?
In the worst case I'm thinking, maybe I can do a pre-treatment to change placeholders like {{姓}} into something like {{_姓}}
But it's still a cumbersome, so if some solution can be found I would be happy