ento / quicklook-jptxt Goto Github PK
View Code? Open in Web Editor NEWQuick Look plugin for public.plain-text with better encoding handling.
Home Page: http://x.nest.jp/mac/080109_0217.htm
Quick Look plugin for public.plain-text with better encoding handling.
Home Page: http://x.nest.jp/mac/080109_0217.htm
JapaneseText.qlgenerator について 2008 1/8 白山 貴之 ([email protected]) 0. はじめに JapaneseText.qlgenerator は UTI で public.plaintext に分類されるいわゆる「テキストファイル」に対する QuickLook のプラグインです。 Apple 標準の Text.qlgenerator との違いは、日本語のエンコーディングを自動判別し、適切な文字コードでの表示が可能となるという部分です。言い換えれば、日本語に関しては化ける事が(ほぼ)なくなるという次第です。 1. 動作環境 ・ Mac OS X 10.5 ないしそれ以降 もちろんのことですが、JapaneseText.qlgenerator は QuickLook のない環境では動作しません。(意味もありません) 2. インストールおよび使用方法 アーカイブを展開すると存在する「JapaneseText.qlgenerator」を、ホームの下の Library の中の「QuickLook」フォルダにコピーしてください。 コピーした直後から有効になりますが、有効になっていないと思われる場合は一旦ログアウトする、ないしは再起動してみてください。 3. 実装に関して 日本語の文字コードの検出については、Gauche というスクリプト言語の文字コード認識関数を抜き出して使っております。私の手持ちのテキストでは誤判断はありませんでしたが、稀なパターンで誤判断を起こす可能性はあります。ご注意ください。 4. ライセンスに関して このソフトウエアはフリーウェアです。ソフトウェアの再配布や修正は自由に行っていただいてかまいません。なお、guess.c guess_tab.c guess.h に関しましては、Shiro Kawai 氏の作られたスクリプト言語 Gache のソースコードを流用しており、Shiro Kawai 氏の提示するライセンスに従うものとなります。 Gauche のページ : http://practical-scheme.net/gauche/index-j.html 5. バグ、ないしはバグっぽい挙動に関して ・ サムネイルの作成が微妙で、本文に即しているか疑わしいところがあります。 6. 更新履歴 Version 1.0 (2008 年 1月8日 ) ・最初の公開バージョン
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.