Coder Social home page Coder Social logo

Comments (2)

wybenga42 avatar wybenga42 commented on August 23, 2024

Still an issue with a number of characters including right \u2018 and left \u2019.

Traceback (most recent call last):
  File "bin/voicebox", line 11, in <module>
    vb.write()
  File "/Users/brandon/Projects/pt-voicebox/voicebox/voicebox.py", line 100, in write
    self.display_suggestions(suggestions)
  File "/Users/brandon/Projects/pt-voicebox/voicebox/voicebox.py", line 359, in display_suggestions
    info_string = "%s: %s" % (i + 1, str(suggestions[i][0]))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 5: ordinal not in range(128)

from pt-voicebox.

negativecopy avatar negativecopy commented on August 23, 2024

I get the same error—don't know if anyone is still interested in updating/fixing pt-voicebox, but I'd sure love it if this particular error could be addressed. Pasted the error below.

Traceback (most recent call last):
File "bin/voicebox", line 11, in
vb.write()
File "/Users/Home/Desktop/pt-voicebox/voicebox/voicebox.py", line 100, in write
self.display_suggestions(suggestions)
File "/Users/Home/Desktop/pt-voicebox/voicebox/voicebox.py", line 359, in display_suggestions
info_string = "%s: %s" % (i + 1, str(suggestions[i][0]))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 2: ordinal not in range(128)

from pt-voicebox.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.