当我在Rails应用程序中运行rake db:seed时,出现以下错误: US-ASCII中的无效字节序列(参数错误) 我只是将science_majors添加到我的种子文件中,现在当我运行rake db:seed它给了我这个错误: 无效的字节序列错误 这是为什么,我该如何解决? 种子的一部分 @college = College.find_or_create_by_name!('University of Pittsburgh') if @college.update_attributes( url: 'university-of-pittsburgh', public: 'Public', years: '4-year', category: 'National University', calendar: 'Semester', location: 'Pittsburgh, PA', setting: 'Large City (250-500k)', retention: '90', majors: 'business/marketing: 15%|social sciences: 14%|health professions: 11%|english: 10%|engineering: 9%|psychology: 8%|biology: 7%|history: 5%', scholarships_link: 'http://www.oafa.pitt.edu/universityschlrs.aspx', map: '<iframe width="425" height="350" frameborder="0" scrolling="no" […]