Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#192 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
ruby, scss

Direzione di ricerca

Riproduci il malfunzionamento con manifest.js che collega application.css e una voce application.css.scss, quindi segui il percorso segnalato attraverso execjs/encoding.rb e autoprefixer-rails/processor.rb. Confronta il comportamento rimuovendo il collegamento CSS e con un foglio di stile vuoto; è completato quando il collegamento CSS non attiva più l’errore di encoding.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hello, just by installing gem 'bootstrap', '~> 4.4.0' (previous version gem 'bootstrap-sass', '3.3.6') I'm getting the following error:

Encoding::UndefinedConversionError: "\xE2" from ASCII-8BIT to UTF-8
/home/user/.rvm/gems/ruby-2.7.1@project/gems/execjs-2.7.0/lib/execjs/encoding.rb:22:in `encode'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/execjs-2.7.0/lib/execjs/encoding.rb:22:in `encode'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/execjs-2.7.0/lib/execjs/external_runtime.rb:8:in `initialize'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/execjs-2.7.0/lib/execjs/runtime.rb:57:in `new'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/execjs-2.7.0/lib/execjs/runtime.rb:57:in `compile'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/execjs-2.7.0/lib/execjs/module.rb:27:in `compile'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/autoprefixer-rails-9.7.6/lib/autoprefixer-rails/processor.rb:160:in `runtime'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/autoprefixer-rails-9.7.6/lib/autoprefixer-rails/processor.rb:36:in `process'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/autoprefixer-rails-9.7.6/lib/autoprefixer-rails/sprockets.rb:20:in `run'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/autoprefixer-rails-9.7.6/lib/autoprefixer-rails/sprockets.rb:14:in `call'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/sprockets-4.0.2/lib/sprockets/processor_utils.rb:84:in `call_processor'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/sprockets-4.0.2/lib/sprockets/processor_utils.rb:66:in `block in call_processors'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/sprockets-4.0.2/lib/sprockets/processor_utils.rb:65:in `reverse_each'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/sprockets-4.0.2/lib/sprockets/processor_utils.rb:65:in `call_processors'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/sprockets-4.0.2/lib/sprockets/loader.rb:182:in `load_from_unloaded'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/sprockets-4.0.2/lib/sprockets/loader.rb:59:in `block in load'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/sprockets-4.0.2/lib/sprockets/loader.rb:337:in `fetch_asset_from_dependency_cache'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/sprockets-4.0.2/lib/sprockets/loader.rb:43:in `load'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/sprockets-4.0.2/lib/sprockets/cached_environment.rb:44:in `load'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/sprockets-4.0.2/lib/sprockets/bundle.rb:32:in `block in call'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/sprockets-4.0.2/lib/sprockets/bundle.rb:31:in `call'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/sprockets-4.0.2/lib/sprockets/processor_utils.rb:84:in `call_processor'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/sprockets-4.0.2/lib/sprockets/processor_utils.rb:66:in `block in call_processors'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/sprockets-4.0.2/lib/sprockets/processor_utils.rb:65:in `reverse_each'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/sprockets-4.0.2/lib/sprockets/processor_utils.rb:65:in `call_processors'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/sprockets-4.0.2/lib/sprockets/loader.rb:182:in `load_from_unloaded'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/sprockets-4.0.2/lib/sprockets/loader.rb:59:in `block in load'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/sprockets-4.0.2/lib/sprockets/loader.rb:337:in `fetch_asset_from_dependency_cache'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/sprockets-4.0.2/lib/sprockets/loader.rb:43:in `load'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/sprockets-4.0.2/lib/sprockets/cached_environment.rb:44:in `load'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/sprockets-4.0.2/lib/sprockets/base.rb:81:in `find_asset'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/sprockets-4.0.2/lib/sprockets/base.rb:88:in `find_all_linked_assets'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/sprockets-4.0.2/lib/sprockets/manifest.rb:125:in `block (2 levels) in find'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/safe_task_executor.rb:24:in `block in execute'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `block in synchronize'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/mri_lockable_object.rb:38:in `synchronize'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/safe_task_executor.rb:19:in `execute'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/concurrent-ruby-1.0.5/lib/concurrent/promise.rb:531:in `block in realize'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `run_task'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:337:in `block (3 levels) in create_worker'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `loop'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `block (2 levels) in create_worker'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `catch'
/home/user/.rvm/gems/ruby-2.7.1@project/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `block in create_worker'

manifest.js:

//= link application.css
//= link application.js

If I remove //= link application.css the error goes away, but if I empty the application.css.scss file the error remains.

Lingua principale
SCSS
Stelle
2k
Fork
437
Merge medio
1h
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di twbs/bootstrap-rubygem

Tutte le issue di twbs/bootstrap-rubygem

Issue simili

Altre issue su Build System

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.