antlr / stringtemplate4

StringTemplate 4
http://www.stringtemplate.org
Other
956 stars 231 forks source link

Utf template fix #206

Closed kkress2000 closed 6 years ago

kkress2000 commented 6 years ago

Bug report #205 contains a test showing that templates containing utf-8/non-ascii characters are not read correctly. I've changed STGroup to add encoding to the ANTLRInputStream creation. I've also added a UTF-8 directive to the pom file because surefire was still failing the test.

parrt commented 6 years ago

Hi @kkress2000 can you sign contributors.txt ?

parrt commented 6 years ago

Closing as I did something similar. https://github.com/antlr/stringtemplate4/commit/8f831d533e33e1e5d9ec3e3f61da454bccb24cef