
    yh>                          S r SSKJr  S rS rg)z9
Utility functions to help with Python 2/3 compatibility
   )sixc                 L    [         R                  " U 5      R                  S5      $ )ay  
Takes in a value and converts it to a text (unicode) type.  Then decodes that
type to a byte array encoded in utf-8.  In 2.X the resulting object will be a
str and in 3.X the resulting object will be bytes.  In both 2.X and 3.X any
object can be passed in and the object's __str__ will be used (or __repr__ if
__str__ is not defined) if the object is not already a text type.
utf-8)r   	text_typeencodevalues    P/var/www/auris/envauris/lib/python3.13/site-packages/pyttsx3/drivers/__init__.pytoUtf8r      s     ==&&w//    c                 $    U R                  S5      $ )z
Takes in a byte array encoded as utf-8 and returns a text (unicode) type.  In
2.X we expect a str type and return a unicde type.  In 3.X we expect a bytes
type and return a str type.
r   )decoder   s    r
   fromUtf8r      s     <<  r   N)__doc__ r   r   r    r   r
   <module>r      s    0!r   