Skip to content

Unicode Error #7

Description

@jfreyre

Hi,

I am a french speaker and when I try to minify my files, I get an error about accentued chars like 'à' or 'é'

Here is the exception thrown in the console:

Exception in thread Thread-29:
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "./compilers/basecall.py", line 22, in run
  File "./compilers/googleclosurecall.py", line 12, in exec_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib.py", line 1281, in urlencode
    v = quote_plus(str(v))
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe0' in position 188: ordinal not in range(128)

error: There was an error minifying the Javascript.
Warning: Double finish

And a sample of script that fail:

$(document).ready(function () {
    $('div').append('à')
});

Hope it helps... ;)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions