Skip to main content

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

This version
History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
nfd2nfc-0.1.0.tar.gz (2.4 kB) Copy SHA256 hash SHA256 Source None Jan 17, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page