You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Valid CoffeeScript won't compile using the 'Display JavaScript' command if there are Japanese or other non-ASCII characters in the file. Instead an error is logged and blank window appears.
This code compiles and displays fine:
foo = "It works with ASCII text."
But, if you add some non-ASCII to the mix, like this, it doesn't work anymore:
foo = "It works with ASCII text."
bar = "日本語だったらダメだ。"
The error printed to console is:
Traceback (most recent call last):
File "./sublime_plugin.py", line 356, in run_
File "./CoffeeScript.py", line 88, in run
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 58: ordinal not in range(128)
The version I am using is the current one from Package Control: v2012.07.19.12.47.26; xavura.github.com/CofffeeScript-Sublime-Plugin
The text was updated successfully, but these errors were encountered:
Valid CoffeeScript won't compile using the 'Display JavaScript' command if there are Japanese or other non-ASCII characters in the file. Instead an error is logged and blank window appears.
This code compiles and displays fine:
But, if you add some non-ASCII to the mix, like this, it doesn't work anymore:
The error printed to console is:
The version I am using is the current one from Package Control: v2012.07.19.12.47.26; xavura.github.com/CofffeeScript-Sublime-Plugin
The text was updated successfully, but these errors were encountered: