Coder Social home page Coder Social logo

invalid byte sequence in US-ASCII about roadie HOT 7 CLOSED

mange avatar mange commented on August 30, 2024
invalid byte sequence in US-ASCII

from roadie.

Comments (7)

Mange avatar Mange commented on August 30, 2024

Which Ruby version are you on? Have you specified the encoding in your Ruby/Haml/Erb files?

from roadie.

anlek avatar anlek commented on August 30, 2024

I'm using Ruby 1.9.3-p194

I'm using Slim, and no I don't specify encoding at all.

from roadie.

Mange avatar Mange commented on August 30, 2024

See what happens if you set the encoding explicitly in the files.
Den 18 nov 2012 19:42 skrev "Andrew Kalek" [email protected]:

I'm using Ruby 1.9.3-p194

I'm using Slim, and no I don't specify encoding at all.


Reply to this email directly or view it on GitHubhttps://github.com//issues/40#issuecomment-10489563.

from roadie.

Arjeno avatar Arjeno commented on August 30, 2024

I'm also receiving this error. I've tried setting encoding in the mailer and views, but to no avail. Any suggestions?

from roadie.

Mange avatar Mange commented on August 30, 2024

Do you have any weird characters in your stylesheets, perhaps?

from roadie.

Arjeno avatar Arjeno commented on August 30, 2024

No it's definitely in the mail body. Unfortunately I am unable to fix it. In my app I have a dynamic mail system in which people can create their own mail templates. It looks like there some kind of encoding issue, or lack of encoding enforcing. Switching to premailer fixes the issue.

from roadie.

Mange avatar Mange commented on August 30, 2024

Hmm, I would guess that the database is related. Which database driver are you using?

from roadie.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.