Skip to content

Generating Lexer/Parser file in a specific encoding #232

@lkluc

Description

@lkluc

I am migrating a project to a CI/CD pipeline for which there is a step which ensures that all .fs files are UTF-8 with BOM.

I have some unit tests which are generated by FsLexYacc and are not adhering to this CI/CD specification.

I would need to have FsLexYacc generate files enforcing a specific encoding, which is, in my case UTF-8 with BOM.

I tried to look in the available command line options of the generators, and it seems the options are regarding the input, not the output.

Could we add an option to specify an output encoding (or code page if we align with the current input options) ?

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions