[stringtemplate-interest] A problem with a variable name
jaluber at gmx.de
Thu Mar 12 13:33:35 PDT 2009
José María Ruiz schrieb:
> I've an object (c#) with a property named "Categoría" (Category in
> When I try to access it in a template, $object.Categoría$, as soon as
> find the unicode character "í" it stops interpreting.
> What can I do to have unicode characters in the names of my clases and
As StringTemplate is built upon ANTLR 2.7.7, which supports only ASCII,
I doubt that there is something you can do beyond adding/renaming to
English names. Seeing that you are using the C# version of ST, the for
now unreleased ST 3.2 may be using ANTLR 3.x, but that's pure
speculation on the fact that the creator did finish a version 3
conversion of the ANTLR grammar as well a C# conversion of the ANTLR
tool. But he has to (not) confirm this himself.
More information about the stringtemplate-interest