LoginSignup
0
0

More than 5 years have passed since last update.

Elmのエラー invalid argument (invalid byte sequence)

Posted at

VSCodeでElm本を写経している時に出会ったエラー

出会った場所

ローカルブラウザでみる。
elm reactor
http://localhost:8000
このページを開いた時に、

A web handler threw an exception. Details:
.\README.md: hGetContents: invalid argument (invalid byte sequence)

と表示される。

原因

ファイルの文字コードがUTF-16だった。

解決

ファイルの文字コードをUTF-8に直す。
正常に表示される。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0