question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Encoding::UndefinedConversionError: "\xE2" from ASCII-8BIT to UTF-8

See original GitHub issue

I’m trying to start the compass server (grunt compass:server), but I got the following error:

Encoding::UndefinedConversionError on line ["655"] of ~/.rvm/gems/ruby-2.0.0-p353/gems/sass-3.2.12/lib/sass/util.rb: "\xE2" from ASCII-8BIT to UTF-8.

  • ruby-2.0.0-p353
  • sass 3.2.12
  • grunt v0.4.2

Any idea how to fix this?

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
nex3commented, Aug 15, 2014

These errors are definitely not as good as they should be. Can someone who’s seeing one post:

  • Their OS version
  • Their Ruby version (ruby --version)
  • Their Sass version (sass --version)
  • The result of running sass with --trace on a file that produces the error
  • The result of running ruby -e 'p [Encoding.default_internal, Encoding.default_external]'
0reactions
nex3commented, Aug 19, 2014

Has anyone seen this on 3.4?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Encoding::UndefinedConversionError ("\xE2" from ASCII-8BIT ...
Yeah this should work, it'll replace any weird characters that can't be converted into UTF-8 with an underscore. Read more about encoding strings...
Read more >
UndefinedConversionError (“\xE2” from ASCII-8BIT to UTF-8 ...
This error only happens randomly so the data going in is original DB field is what is causing the issue. But since I...
Read more >
\\xE2 from ASCII-8BIT to UTF-8 (Encoding ... - GitHub
This error is caused by line 73 at JSON.dump(output) . The JSON library is trying to parse the hash, but is incorrectly assuming...
Read more >
UndefinedConversionError ("\xE2" from ASCII-8BIT to UTF-8 ...
Coding example for the question Encoding::UndefinedConversionError ("\xE2" from ASCII-8BIT to UTF-8): error in ROR + MongoDB based app-mongodb.
Read more >
Encoding::UndefinedConversionError - Lizard-Spock
Encoding::UndefinedConversionError - "\xE2" from ASCII-8BIT to UTF-8: If you are using Ruby and SASS for your stylesheets then it might help ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found