0

When I try to use "hg update", this shows up:

UnicodeDecodeError: 'utf8' codec can't decode byte 0xd6 in position 21: invalid continuation byte

This Error occurs in OSX, not in Windows.

qdwang
  • 425
  • 1
  • 4
  • 13
  • Is there any context to this error? Or is this the complete output? Also, which version of mercurial are you using? The error is likely generated from Python's `decode()` function, where it's seeing an invalid character and trying to interpret it as "utf8". See here: http://stackoverflow.com/q/5552555/218597 – icabod Jul 10 '13 at 09:37

1 Answers1

0

This problem also occurred to me and I guessed that's because python use different filename encoding for Windows and other system, you may find details from:

Mercurial update exception caused by python UnicodeDecodeError

Community
  • 1
  • 1
cao.xu
  • 45
  • 8