telosys-tools-bricks / telosys-tools-generator

Telosys generator based on Velocity template engine
https://www.telosys.org/
GNU Lesser General Public License v3.0
18 stars 14 forks source link

file encoding problem #1

Closed RenJIa-J closed 2 years ago

RenJIa-J commented 8 years ago

Hi,I'm chuck.I'm a coder in china.I use your team project TelosysTool generate Code,but some chinese words happen encoding problem.My project encoding is 'UTF-8',I want know how let it right?

I read a little source code,in the 'Generator.java' OutputStream out = new FileOutputStream(file); if change it OutputStreamWriter out = new OutputStreamWriter(new FileOutputStream(file),"UTF-8"); can make it right? help me,please.

l-gu commented 2 years ago

Fixed