Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Fix Travis Build #429

Merged
merged 11 commits into from
Apr 8, 2013
Merged

Fix Travis Build #429

merged 11 commits into from
Apr 8, 2013

Conversation

josh
Copy link
Contributor

@josh josh commented Apr 8, 2013

No description provided.

Lewis Marshall and others added 2 commits March 10, 2013 00:52
In Ruby 1.9, the directive_processor.rb source file defaults to US-ASCII
as it doesn't contain a magic comment, meaning the String initialised in
@Result gets a US-ASCII encoding.

This means that when content is concatenated onto @Result (e.g. in
process_source), Ruby will maintain the US-ASCII encoding, provided the
content being concatenated contains no non-ascii chars.

The changes in this commit force the encoding of the resulting string to
be that of the body, because conceptually that is the string we are
"concatenating" with.
@ghost ghost assigned josh Apr 8, 2013
josh added a commit that referenced this pull request Apr 8, 2013
@josh josh merged commit 5b0a00c into master Apr 8, 2013
@josh josh deleted the fix-build branch April 8, 2013 16:55
@josh josh unassigned josh Mar 12, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant