##// END OF EJS Templates
encoding: make wide character class list a sysstr...
Augie Fackler -
r32529:0ec17613 default
parent child Browse files
Show More
@@ -194,8 +194,8 b' if not _nativeenviron:'
194 194 for k, v in os.environ.items()) # re-exports
195 195
196 196 # How to treat ambiguous-width characters. Set to 'wide' to treat as wide.
197 wide = (environ.get("HGENCODINGAMBIGUOUS", "narrow") == "wide"
198 and "WFA" or "WF")
197 wide = _sysstr(environ.get("HGENCODINGAMBIGUOUS", "narrow") == "wide"
198 and "WFA" or "WF")
199 199
200 200 def colwidth(s):
201 201 "Find the column width of a string for display in the local encoding"
General Comments 0
You need to be logged in to leave comments. Login now