Differences between revisions 2 and 3
Revision 2 as of 2009-05-19 19:31:01
Size: 1276
Editor: localhost
Comment: converted to 1.6 markup
Revision 3 as of 2010-08-28 15:19:41
Size: 1283
Editor: abuehl
Comment:
Deletions are marked like this. Additions are marked like this.
Line 40: Line 40:
CategoryExtension CategoryWindows CategoryWindows CategoryBundledExtension

Win32mbcs Extension

This extension is currently being distributed along with Mercurial.

Author: Shun-ichi Goto

Overview

There is a well known issue "0x5c problem" on Windows related to the incorrect handling of path names that are raw encoded using byte sequences of "problematic" encodings like shift_jis or big5.

The primary intent of this extension is to allow using such a encoding on Mercurial without strange file operation errors.

The encoding used for filenames is the same as the one used for the terminal by default. You can change the encoding by setting the HGENCODING environment variable. This may be needed if the required encoding doesn't match with the system local encoding, which is used as default.

This extension is usefull for:

  • Japanese Windows users using shift_jis encoding.
  • Chinese Windows users using big5 encoding.
  • Users who want to use a repository created with such a encoding.

Note: Unix people don't need to use this extension.

Configuration

Enable the extension in the configuration file (hgrc):

[extensions]
hgext.win32mbcs=

Usage

This extension doesn't require user interaction to work.


CategoryWindows CategoryBundledExtension

Win32mbcsExtension (last edited 2010-08-28 15:19:41 by abuehl)