Comments (4)
- 各仕様について
- kif, ki2のUnicode版の拡張子はそれぞれkifu, ki2uであることを確認.これらに関しては何も考えなくて良い.
- csaはあらゆる文字コードである可能性があるため依然として自動判別の必要が有る.
- JSでの自動判別について
- Node.jsのライブラリくらいしか見つからない.
- 変換ライブラリはある.
from kifu-for-js.
主要な文字コードを列挙しておき,それらの文字コードにわたって何度もoverrideMimeTypeを変えながらXHRを呼べば,特定のブラウザはキャッシュを利用してくれて余分な通信を行わずに解釈しなおしてくれるようだ.
Chromeでは2回め以降の通信でキャッシュを利用してくれる.
http://81.la/tmp/autoencoding.html
他のブラウザでの対応を確認したい.
from kifu-for-js.
TextDecoderとそのpolyfillを使えば #29 #23 も解決するが,サイズが大きくなりそう. https://github.com/inexorabletash/text-encoding
from kifu-for-js.
必要であればリオープンする。
from kifu-for-js.
Related Issues (20)
- (Safari) 設定モーダルが小さすぎる HOT 1
- SUIT CSSに書き換える
- PostCSSのセットアップ
- マウスダウンで即座にD&Dが始まるようにする HOT 1
- 棋譜形式エラーについて HOT 1
- 封じ手への対応 HOT 1
- iOS Safariでブックマークレットが使えない HOT 1
- Add end-to-end testing with Cypress HOT 1
- CSA形式: komabetsuline の中身が空だと読み込めない HOT 1
- Automatically bump version in comment and README HOT 1
- webpack-web-serverの設定をバージョン4に移行する HOT 5
- Monorepo HOT 2
- JKFPlayerのドキュメントを書く
- その他棋譜で開始時手番の判定 HOT 1
- 形式の拡張:変則将棋への対応 HOT 1
- JKFでCSA形式にない特殊な指し手、終局状況をサポートする
- Make sure illegal win works fine in KIF/KI2
- 盤面編集の充実 HOT 2
- Enforce checks for legal moves HOT 1
- json-kifu-formatのParsersからparseするとエラーがでる HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kifu-for-js.