elastic / logstash

Logstash - transport and process your logs, events, or other data
https://www.elastic.co/products/logstash
Other
78 stars 3.5k forks source link

ArgumentError: invalid byte sequence in CP949 occurred when execute logstash-plugin list command #12065

Open sw-jung opened 4 years ago

sw-jung commented 4 years ago

Some KR Ruby users reported a similar issue and it seems related to KR Windows and Ruby 1.9+. https://groups.google.com/u/1/g/rubykr/c/NMsPJ9ZjMN0/m/n1NPSOSmNhEJ

If I inserting set JRUBY_OPTS=-J-Dfile.encoding=UTF-8 in top of logstash-plugin.bat, it works well.

@echo off
setlocal enabledelayedexpansion
set JRUBY_OPTS=-J-Dfile.encoding=UTF-8 <---

call "%~dp0setup.bat" || exit /b 1
ChoeJaeyoung commented 4 years ago

감사합니다.

ztkmkoo commented 4 years ago

Thanks!

ssonhana commented 3 years ago

thanks!!

zeraf29 commented 3 years ago

Thank you so much!!

rimws commented 1 year ago

Thank you!!!!