gatech-csl / jes

The Jython Environment for Students allows students to write Jython programs that can manipulate pictures, sounds, and videos.
http://mediacomputation.org/
59 stars 38 forks source link

Accented Letter #94

Open Trunksistor opened 8 years ago

Trunksistor commented 8 years ago

Hello, I'm Gabriele, a tutor for a course of Computer Science Fundamentals in Italy (University of Rome Tor Vergata) and we mainly use JES. I wanted to point out that JES cannot work with accented letters! Take for example a simple code:

p = pickAFile()
print p

It does not work if the file is selected from a path that contains words with accented letters (e.g.: "C:\Documents and Settings\Gabriele\Università\file.jpg"). The problem is also the absence of errors from JES. It simply returns nothing (not even a malformed or empty string), making the debugging phase difficult.

Greetings

mjguzdial commented 8 years ago

Jython (at least, the version currently built into JES) can't process Unicode in programs. It can process Unicode string, but not in variable names, comments, or string literals. I'm not sure how to fix it, or if it's fixable. I'd appreciate any suggestions!