Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looks like it doesn't support extended chars, not even by stripping them... #5

Open
fstltna opened this issue Sep 21, 2018 · 0 comments

Comments

@fstltna
Copy link

fstltna commented Sep 21, 2018

Depending on who is online on my game I get these messages when running xrcon:

Traceback (most recent call last):
  File "/usr/local/bin/xrcon", line 11, in <module>
    sys.exit(XRconProgram.start())
  File "/usr/local/lib/python2.7/dist-packages/xrcon/commands/base.py", line 21, in start
    cls().run(args)
  File "/usr/local/lib/python2.7/dist-packages/xrcon/commands/xrcon.py", line 31, in run
    self.execute(namespace)
  File "/usr/local/lib/python2.7/dist-packages/xrcon/commands/xrcon.py", line 53, in execute
    self.write(data.decode('utf8'))
  File "/usr/local/lib/python2.7/dist-packages/xrcon/commands/xrcon.py", line 61, in write
    sys.stdout.write(message)
UnicodeEncodeError: 'ascii' codec can't encode character u'\ue0cc' in position 268: ordinal not in range(128)

Is there any update to fix this? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant