GithubHelp home page GithubHelp logo

scoop-bucket-yukihane-games's Introduction

scoop-bucket-yukihane-games's People

Contributors

yukihane avatar

Watchers

 avatar James Cloos avatar  avatar

scoop-bucket-yukihane-games's Issues

jsonファイルにBOMを付けるのは誤り

https://tools.ietf.org/html/rfc8259#section-8.1

Implementations MUST NOT add a byte order mark (U+FEFF) to the
beginning of a networked-transmitted JSON text.

ただし現状BOMを付けないと日本語ディレクトリを正しく扱えない。
本体の修正が必要と思われる。

ScoopInstaller/Scoop#2573 では、checkver.ps1で自動生成されたjsonファイルで日本語ディレクトリを正しく扱えない、と報告した。
原因として書き出す箇所の問題と考えていたが、そうではなく、BOM無しUTF-8を正しく読めるよう、読み込み処理を修正する必要がある、ということになる。

japanese encoded zip filename is garbled (probably)

ScoopInstaller/Scoop#2577 (comment)
の調査が必要。

予想では、ファイル名が CP 932(Shift_JIS) でエンコードされているのではないか。

https://github.com/lukesampson/scoop/blob/9bc7d5f8b3ded507cd5d631fce189e88f562042a/lib/core.ps1#L267
ZipFile::ExtractToDirectroy を使用しているが、ここで entryNameEncoding を指定する必要があるのかもしれない。

Windows7/Windows Server 2008 R2 であれば、次の問題の可能性も?
https://support.microsoft.com/en-us/help/2704299/japanese-characters-in-file-names-are-displayed-as-garbled-text-after

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.