Encoding problem during "Detect Copies/Renames" and commit procedure.
I have used in Windows 10 different codepages. The current default is OEM737, but previously was UTF-8. When different codepages have been used then the following error arises. I tried setting the ui.encoding to UTF-8 but it didn't work.
#!python
** Mercurial version (5.6.1). TortoiseHg version (5.6.1)
** Command:
** CWD: C:\WINDOWS
** Encoding: cp1253
** Extensions loaded: closehead, fetch, histedit, gpg, largefiles, purge, strip, mq, rebase, tortoisehg.util.configitems
** Python version: 2.7.17 (v2.7.17:c2f86d86e6, Oct 19 2019, 21:01:17) [MSC v.1500 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=2, build=9200, platform=2, service_pack='')
** Processor architecture: x64
** Qt-5.9.9 PyQt-5.13.2 QScintilla-2.10.8
Traceback (most recent call last):
File "tortoisehg\hgqt\guess.pyo", line 333, in showDiff
File "tortoisehg\util\hglib.pyo", line 165, in fromunicode
File "encodings\cp1253.pyo", line 12, in encode
UnicodeEncodeError: 'charmap' codec can't encode characters in position 0-2: character maps to <undefined>