comparison mercurial/util.py @ 4876:001e8a745834

typo fix
author Jesse Glick <jesse.glick@sun.com>
date Thu, 12 Jul 2007 10:55:49 -0400
parents 0875082d5471
children c8d1aa1822d5
comparison
equal deleted inserted replaced
4875:97dbf330069a 4876:001e8a745834
61 def fromlocal(s): 61 def fromlocal(s):
62 """ 62 """
63 Convert a string from the local character encoding to UTF-8 63 Convert a string from the local character encoding to UTF-8
64 64
65 We attempt to decode strings using the encoding mode set by 65 We attempt to decode strings using the encoding mode set by
66 HG_ENCODINGMODE, which defaults to 'strict'. In this mode, unknown 66 HGENCODINGMODE, which defaults to 'strict'. In this mode, unknown
67 characters will cause an error message. Other modes include 67 characters will cause an error message. Other modes include
68 'replace', which replaces unknown characters with a special 68 'replace', which replaces unknown characters with a special
69 Unicode character, and 'ignore', which drops the character. 69 Unicode character, and 'ignore', which drops the character.
70 """ 70 """
71 try: 71 try: