MacOSX将文件名从Unicode Unicode ld_preload模块预分解
- 资源大小:31.06 kB
- 上传时间:2021-06-30
- 下载次数:0次
- 浏览次数:1次
- 资源积分:1积分
-
标 签:
资 源 简 介
If you hate decomposed unicode in MacOSX as much as I do, this piece of code is for you.
This LD_PRELOAD module can transparently translate file names from decomposed unicode
to precomposed unicode. (see http://en.wikipedia.org/wiki/UTF-8#MacOSX).
$ make$ make install$ export DYLD_FORCE_FLAT_NAMESPACE=1$ export DYLD_INSERT_LIBRARIES=/usr/lib/libnfd2nfc.0.dylib:$DYLD_INSERT_LIBRARIES$ ...
Enjoy ;-)
文 件 列 表
nfd2nfc-0.1
Makefile
README
utf8mac.h
COPYING
nfd2nfc.c