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
{{ message }}
This repository has been archived by the owner on Jan 16, 2022. It is now read-only.
On a windows box with CP-1252 as the default character set, I can't run tests against my code (angular 1.4.1 installed from bower) because the the angular.js file is encoded in UTF-8 and apparently contains some non-latin characters somewhere (simple workaround is to use the minified version in my src_files).
I think a reasonable solution would be to try to check the file encoding first (chardet or something https://pypi.python.org/pypi/chardet), before reading the contents out.
I poked around a bit, and I think this is going to take some work to get running for python 2 & 3. It probably just makes sense to convert everything to UTF-8.
On a windows box with CP-1252 as the default character set, I can't run tests against my code (angular 1.4.1 installed from bower) because the the angular.js file is encoded in UTF-8 and apparently contains some non-latin characters somewhere (simple workaround is to use the minified version in my src_files).
I think a reasonable solution would be to try to check the file encoding first (chardet or something https://pypi.python.org/pypi/chardet), before reading the contents out.
This guy is the problem
https://github.com/jasmine/jasmine-py/blob/master/jasmine/standalone.py#L36
The text was updated successfully, but these errors were encountered: