Menu

#29 Input/Output file encoding setting

jflex
open
generator (17)
5
2013-04-15
2013-04-15
Anonymous
No

It seems that current implementation only accepts system default encoding settings for input (.flex) / output (.java) file.

I think both command line argument and ANT script settings should have encoding options.

Suggested command line example:

java JFlex.Main -encoding utf-8 CodeTest.flex

Suggested ANT script entry example:

<jflex file="${src.dir}/CodeTest.flex" destdir="${build.generated.sources.dir}/flex" encoding="utf-8" />

Discussion

MongoDB Logo MongoDB