You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, my *.g4 file contains UTF-8 characters. Therefore I need to invoke antlr with the -encoding command line option such as:
antlr4 -encoding utf8 grammar.g4
I suspect the vscode extension doesn't pass that command line option as copile-on-save produces errors in VSCode but not when running antlr from the command line. However, I cannot find a configuration setting for the encoding command line option.
Similarly, I need to pass the encoding option when invoking grun as well.
The text was updated successfully, but these errors were encountered:
For example, my *.g4 file contains UTF-8 characters. Therefore I need to invoke antlr with the -encoding command line option such as:
antlr4 -encoding utf8 grammar.g4
I suspect the vscode extension doesn't pass that command line option as copile-on-save produces errors in VSCode but not when running antlr from the command line. However, I cannot find a configuration setting for the encoding command line option.
Similarly, I need to pass the encoding option when invoking grun as well.
The text was updated successfully, but these errors were encountered: