gunyarakun / python-shogi

A pure Python shogi library with move generation and validation and handling of common formats.
GNU General Public License v3.0
181 stars 43 forks source link

Set encoding to 'utf-8' when reading .kifu as the document suggests. #19

Closed hmatsuya closed 5 years ago

hmatsuya commented 5 years ago

KIF形式棋譜ファイルの(たぶん)公式ドキュメントによると、.kifu拡張子のファイルはUTF-8エンコーディングらしいです。それを読めるようにしていただきたいです。

ref: http://kakinoki.o.oo7.jp/kif_format.html

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.08%) to 83.091% when pulling ac3861b6d885e0cbdf9204f3c818f4c38bf812ff on hmatsuya:master into 137fe5f5e72251e8a97a1dba4a9b44b7c3c79914 on gunyarakun:master.

hmatsuya commented 5 years ago

すみません、テスト実行してませんでした。クローズして再度リクエストします。