Hi.
Help me, please.
python-script:
# -*- coding: utf-8 -*- from __future__ import unicode_leterals import xmlrpclib ... client = xmlrpc.Server(URL + "/rpc/xmlrpc") authToken = client.confluence2.login(username,pwd) page = client.confluence2.getPage(authToken,'id') text = u 'данные' page['content'] = text client.confluence2.storePage(authToken,page) client.confluence2.logout(authToken)
Error :
unicodeEncodeError: 'ascii' codec cant't encode characters in position 0-1: ordinal not in range (128)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.