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

Improve support for binary assets #326

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Aug 19, 2014

  1. Add support for binary assets back in.

    Filters that expect binary input will need to declare a `binary_input`
    attribute. Otherwise they will be passed data in Unicode strings.
    
    Binary outputs will be converted to Unicode strings before each filter
    that doesn't declare itself as supporting binary input. That includes
    input files read from disk.
    
    Output files written to disk will be encoded in utf-8 if the last filter
    output Unicode, otherwise the binary data output by the last filter.
    qris committed Aug 19, 2014
    Configuration menu
    Copy the full SHA
    c54a36a View commit details
    Browse the repository at this point in the history