Rack app error: #ArgumentError: invalid byte sequence in UTF-8

Knowledge Drop

Last tested: Oct 16, 2020

A user saw this error in the logs after trying to connect a project to an existing git repo.

This is due to a file in the repo having non utf8 encoding - this can sometimes be caused by either a corrupt file, or just Windows line endings. Try changing the encoding on the files to utf8 and pulling again!

This content is subject to limited support.                

Version history
Last update:
‎05-25-2021 10:27 PM
Updated by: