1. Olemis Lang
  2. brython
  3. Issues
Issue #1 resolved

Only ascii characters are recognized

Pierre Quentel
created an issue

What steps will reproduce the problem? 1. Define a function with accented characters. 2. Attempt to translate it in the Brython console

What is the expected output? What do you see instead? I would expect this to work, as Python 3 support utf-8 and so does javascript. Instead, the following is raised (in the specific example I tried): Uncaught SyntaxError: unknown token [é] module 'main' line 1 def testé:

What version of the product are you using? On what operating system? The brython console http://brython.info/tests/console_en.html as of the date of this report.

Please provide any additional information below.

Comments (2)

  1. Log in to comment