Convert Mac OSX NFD unicode filename to NFC unicode
Project description
This tool can convert file system encoded in NFD mode to NFC mode.
On Mac OS X, the filesystem encode file name in NFD unicode
(http://en.wikipedia.org/wiki/Unicode_normalization#Example).
On GNU/Linux, by default the filesystem encode file name in NFC unicode
but it can also contain file encoded in NFD mode.
You can use this tool to convert NFD to NFC.
Install
$ pip install nfd2nfc
Usage
$ nfd2nfc -h This tool can convert file system encoded in NFD mode to NFC mode. Usage: nfd2nfc <path> nfd2nfc <url> nfd2nfc -h | --help | --version
Examples
Convert on local file system (use it on GNU/Linux, not on Mac OS X) :
$ nfd2nfc /home/username/myproject/
You can use ssh url syntax to fix unicode on remote host :
$ nfd2nfc ssh://foobar@example.com:2000:/home/foobar/www/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nfd2nfc-0.1.0.tar.gz
(2.4 kB
view details)
File details
Details for the file nfd2nfc-0.1.0.tar.gz
.
File metadata
- Download URL: nfd2nfc-0.1.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d4376aebcf7bbca6cb3acd50438e9d76fdc8044d14c82429bfeca77dcab91be |
|
MD5 | d8f179bb56e155914bcab0f5e32cf7fa |
|
BLAKE2b-256 | 368b472092642e939756761b57c8e0393fed4c1e88233294d198a475c64757ac |