Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default_encoding option to epp and compiler, generalizing the epp API #276

Closed
wants to merge 1 commit into from

Commits on Mar 7, 2014

  1. Add default_encoding option to epp and compiler, generalizing the epp…

    … API
    
    Make it possible to pass arbitrary options to epp:open(), and to get extra
    information in the result from opening a file. Use this to add the option
    {default_encoding, latin1|utf8} and to get any found encoding annotation in
    the result from open(). Adapt compiler to use this new API, avoiding the
    extra call to epp:read_encoding(), and passing the default_encoding option
    on to epp. This enables running "erlc +'{default_encoding,latin1}'" to
    compile legacy code.
    Richard Carlsson committed Mar 7, 2014
    Configuration menu
    Copy the full SHA
    b19aea3 View commit details
    Browse the repository at this point in the history