shelve: encode error

Issue #372 duplicate
Anonymous created an issue

I encounter this problem when using the shelve tool with an ANSI-encoded file with umlauts. The character in position 9475 is "ü" and thus > 128.



Mercurial version (1.8.1). TortoiseHg version (2.0.2) Command: CWD: C:\ Extensions loaded: fixfrozenexts, convert, mq, transplant, rebase Python version: 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)] Windows version: (5, 1, 2600, 2, 'Service Pack 3') Processor architecture: x86 Qt-4.7.1 PyQt-4.8.2 Traceback (most recent call last): File "tortoisehg\hgqt\shelve.pyo", line 231, in moveChunksRight File "tortoisehg\hgqt\chunks.pyo", line 212, in deleteSelectedChunks UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 9475: ordinal not in range(128)


Comments (2)

  1. Log in to comment