Skip to content

Commit

Permalink
set the code page to UTF8 before running streamlink
Browse files Browse the repository at this point in the history
  • Loading branch information
beardypig committed Feb 17, 2017
1 parent 5a9188b commit 8de5aaf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions resources/streamlink.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
@echo off
REM Change the code page for UTF8
chcp 65001 >NUL
set PYTHONIOENCODING=cp65001
"%~dp0\python\python.exe" "%~dp0\streamlink-script.py" --ffmpeg-ffmpeg "%~dp0\ffmpeg\ffmpeg.exe" --rtmp-rtmpdump "%~dp0\rtmpdump\rtmpdump.exe" --config "%~dp0\streamlinkrc" %*

0 comments on commit 8de5aaf

Please sign in to comment.