Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6591045
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:22:30+00:00 2026-05-25T17:22:30+00:00

I updated Rails to version 3.1.0, but when I generate a new app and

  • 0

I updated Rails to version 3.1.0, but when I generate a new app and scaffold, it reports:

Encoding::InvalidByteSequenceError in Articles#index

Showing E:/blog/app/views/layouts/application.html.erb where line #6 raised:

"\xC4\xDA" followed by "\xB2\xBF" on UTF-16LE
  (in E:/blog/app/assets/javascripts/articles.js.coffee)

My environment is:

  • Windows XP
  • Ruby1.9.2p180
  • Rails 3.1.0

and the encoding of the files in the project is ‘UTF-8’.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T17:22:30+00:00Added an answer on May 25, 2026 at 5:22 pm

    Change the version of execjs to 1.2.4, 1.2.6 or 1.2.8 in Gemfile.lock

    Only 1.2.7 will cause the problem.

    Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Steps to produce this: prompt>rails test_app prompt>cd test_app prompt>script/generate scaffold date_test my_date:datetime prompt>rake db:migrate
I'm creating my first ROR application. Details: creating new app -> rails new simple_cms
I'm following the RoR 3 Rails Tutorials, but to upgrade to a newer version
I'm completely new to Rails, but I've done quite a bit of searching and
I've updated active_admin to version 0.3.0 to get internationalization working. But I have problems
I'm using the Ruby oauth-plugin (version 0.4.0.pre7) to make my Rails (3.0.3) app an
I've just updated to Rails 2.3.11. In an earlier version I could write the
I have a rails app that has picked up a bit of traction, but
I was using an earlier version of geokit plugin on a rails 2.3 app
Ruby on Rails has magic timestamping fields that are automatically updated when a record

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.