
    Bwg                     `    d dl mZmZmZmZ d dlZddlmZ  ej                         Z	ddgZ
d Zy)    )unicode_literalsdivisionabsolute_importprint_functionN   )str_clszutf-8cp1252c                     	 t        | t              S # t        $ r/ t        D ]#  }	 t        | |d      c cY S # t        $ r Y !w xY w Y nw xY wt        | d      S )z
    Tries decoding a byte string from the OS into a unicode string

    :param byte_string:
        A byte string

    :return:
        A unicode string
    strict)errorsreplace)r   	_encodingUnicodeDecodeError_fallback_encodings)byte_stringencodings     L/var/www/horilla/myenv/lib/python3.12/site-packages/oscrypto/_win/_decode.py_try_decoder      si    
{I..  + 	H{HXFF& 	 ;y11s/    A
7A
	A A
AA
	A
)
__future__r   r   r   r   locale_typesr   getpreferredencodingr   r   r        r   <module>r      s3    R R   (F'')	) 2r   