code: def _register_unicode(connection):
          
          psycopg2.extensions.register_type(psycopg2.extensions.UNICODE,
                                            connection)
          psycopg2.extensions.register_type(psycopg2.extensions.UNICODEARRAY,
                                            connection)
docs: Register the cursor to be able to receive Unicode string.
  
          :type connection: psycopg2.extensions.connection
          :param connection: Where to register things