Code Monkey home page Code Monkey logo

Comments (4)

na2hiro avatar na2hiro commented on September 22, 2024
  • 各仕様について
    • kif, ki2のUnicode版の拡張子はそれぞれkifu, ki2uであることを確認.これらに関しては何も考えなくて良い.
    • csaはあらゆる文字コードである可能性があるため依然として自動判別の必要が有る.
  • JSでの自動判別について
    • Node.jsのライブラリくらいしか見つからない.
    • 変換ライブラリはある.

from kifu-for-js.

na2hiro avatar na2hiro commented on September 22, 2024

主要な文字コードを列挙しておき,それらの文字コードにわたって何度もoverrideMimeTypeを変えながらXHRを呼べば,特定のブラウザはキャッシュを利用してくれて余分な通信を行わずに解釈しなおしてくれるようだ.
Chromeでは2回め以降の通信でキャッシュを利用してくれる.
http://81.la/tmp/autoencoding.html
他のブラウザでの対応を確認したい.

from kifu-for-js.

na2hiro avatar na2hiro commented on September 22, 2024

TextDecoderとそのpolyfillを使えば #29 #23 も解決するが,サイズが大きくなりそう. https://github.com/inexorabletash/text-encoding

from kifu-for-js.

na2hiro avatar na2hiro commented on September 22, 2024

必要であればリオープンする。

from kifu-for-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.