o ö]Lb^ ã@s^ddlmZmZmZddlZddlmZ ejrdZdd„Z ndZd d„Z d d „Z d d „Z dS)é)Úabsolute_importÚdivisionÚprint_functionNé)ÚcompatÚsurrogateescapecCstjdkrdSt ¡S©NÚwin32zutf-8©ÚsysÚplatformÚgetfilesystemencoding©rrúE/usr/lib/python3/dist-packages/hgext/fsmonitor/pywatchman/encoding.pyÚget_local_encoding,s rÚstrictcCs&tjdkrdSt ¡}|durd}|Srr )Ú fsencodingrrrr;s cCó| tƒt¡S©N)ÚencoderÚdefault_local_errors)ÚsrrrÚ encode_localFórcCrr)Údecoderr)ÚbsrrrÚ decode_localJrr) Ú __future__rrrr ÚrÚPYTHON3rrrrrrrrÚs