Skip to content

Invalid byte sequence in UTF 8

Lakshya Kapoor edited this page Mar 6, 2019 · 10 revisions

Steps to reproduce:

  1. Open this Wiki post in Chrome or any other browser.
  2. FFMPEG::WindowTitles.fetch 'chrome'

This will raise ArgumentError (invalid byte sequence in UTF-8) because of an unsupported character (·) being present in the title: Invalid byte sequence in UTF 8 · kapoorlakshya/ffmpeg-screenrecorder Wiki

Workaround

Open the browser to a blank window, fetch and use the title before navigating to the website, start the recording, and then access the web site with the "unsupported" title.

Clone this wiki locally