Differences between revisions 2 and 3
Revision 2 as of 2009-02-12 12:48:06
Size: 932
Editor: StefanRusek
Comment:
Revision 3 as of 2009-02-12 15:29:32
Size: 1048
Editor: StefanRusek
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
Download site: [http://bitbucket.org/stefanrusek/hg-fixutf8/changesets/] (Requires Mercurial 1.1 or later) Download site: [http://bitbucket.org/stefanrusek/hg-fixutf8/changesets/] (Requires Mercurial 1.1 or later and Python 2.5 or later)
Line 13: Line 13:
This extension corrects filename encoding problems on Windows and other systems where UTF8 is not the default. This extension corrects filename encoding problems on Windows.
Line 16: Line 16:

In order for Unicode characters to display properly, you should change the Windows console font from "Raster Fonts" to "Lucida Console".

FixUtf8 Extension

This extension is not distributed with Mercurial.

Author: Stefan Rusek

Download site: [http://bitbucket.org/stefanrusek/hg-fixutf8/changesets/] (Requires Mercurial 1.1 or later and Python 2.5 or later)

This extension is still in alpha, use it at your own risk.

1. Overview

This extension corrects filename encoding problems on Windows.

Ideally, you enable the extension before you need international filenames, but if you already have international filenames in your repo, then you need to fix your filenames.

In order for Unicode characters to display properly, you should change the Windows console font from "Raster Fonts" to "Lucida Console".

2. Fixing existing filenames

To fix your filenames simply do the following:

>hg addremove -s 100
>hg commit -m "Fix filenames"

3. Configuration

Configure your .hgrc to enable the extension by adding following lines:

[extensions]
fixutf8 = path/to/fixutf8.py


CategoryExtension

FixUtf8Extension (last edited 2016-05-14 08:53:01 by rcl)