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

Fixed Encoding::InvalidByteSequenceError #210

Merged
merged 1 commit into from
Aug 7, 2013
Merged

Conversation

cr0t
Copy link
Contributor

@cr0t cr0t commented Aug 5, 2013

Hi there.

Thanks for the great and simple app.

I've found an error with default encoding for ruby processes. I created a new Slim file, added there some strings and when I tried to add russian phrase Prepros started warning me with about unsuccessful compilations, like this one: http://d.pr/i/tfak

I did some investigation and made a simple patch for your gem_loader.rb file.

Here I'm just forcing to use UTF-8 (who needs to use anything else?) as the default_external encoding for Ruby (which should be used to parse input files).

@Subash
Copy link
Owner

Subash commented Aug 6, 2013

@mattclements , I think this also solves the sass encoding issue. Can you confirm?

@ai
Copy link

ai commented Aug 7, 2013

UTF-8 is very important to write Slim/Haml on Russian, +1

Subash added a commit that referenced this pull request Aug 7, 2013
Fixed Encoding::InvalidByteSequenceError
@Subash Subash merged commit ba76ff8 into Subash:master Aug 7, 2013
Subash added a commit that referenced this pull request Aug 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants