{"action":"created","issue":{"url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/322","repository_url":"https://api.github.com/repos/dlmanning/gulp-sass","labels_url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/322/labels{/name}","comments_url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/322/comments","events_url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/322/events","html_url":"https://github.com/dlmanning/gulp-sass/issues/322","id":99433637,"number":322,"title":"Error \"Invalid UTF-8\" when compiling sass with @import in a directory whose parent has umlauts","user":{"login":"wagich","id":1444168,"avatar_url":"https://avatars.githubusercontent.com/u/1444168?v=3","gravatar_id":"","url":"https://api.github.com/users/wagich","html_url":"https://github.com/wagich","followers_url":"https://api.github.com/users/wagich/followers","following_url":"https://api.github.com/users/wagich/following{/other_user}","gists_url":"https://api.github.com/users/wagich/gists{/gist_id}","starred_url":"https://api.github.com/users/wagich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wagich/subscriptions","organizations_url":"https://api.github.com/users/wagich/orgs","repos_url":"https://api.github.com/users/wagich/repos","events_url":"https://api.github.com/users/wagich/events{/privacy}","received_events_url":"https://api.github.com/users/wagich/received_events","type":"User","site_admin":false},"labels":[{"id":54470958,"url":"https://api.github.com/repos/dlmanning/gulp-sass/labels/bug","name":"bug","color":"fc2929","default":true},{"id":191824417,"url":"https://api.github.com/repos/dlmanning/gulp-sass/labels/libsass","name":"libsass","color":"b4f277","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dlmanning/gulp-sass/milestones/3","html_url":"https://github.com/dlmanning/gulp-sass/milestones/next.libsass","labels_url":"https://api.github.com/repos/dlmanning/gulp-sass/milestones/3/labels","id":1454031,"number":3,"title":"next.libsass","description":"","creator":{"login":"xzyfer","id":579928,"avatar_url":"https://avatars.githubusercontent.com/u/579928?v=3","gravatar_id":"","url":"https://api.github.com/users/xzyfer","html_url":"https://github.com/xzyfer","followers_url":"https://api.github.com/users/xzyfer/followers","following_url":"https://api.github.com/users/xzyfer/following{/other_user}","gists_url":"https://api.github.com/users/xzyfer/gists{/gist_id}","starred_url":"https://api.github.com/users/xzyfer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xzyfer/subscriptions","organizations_url":"https://api.github.com/users/xzyfer/orgs","repos_url":"https://api.github.com/users/xzyfer/repos","events_url":"https://api.github.com/users/xzyfer/events{/privacy}","received_events_url":"https://api.github.com/users/xzyfer/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2015-12-10T13:04:25Z","updated_at":"2016-05-10T12:44:57Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2015-08-06T13:27:25Z","updated_at":"2016-11-15T15:34:20Z","closed_at":"2016-05-10T12:44:57Z","body":"This one is a bit peculiar:\nGiven the following directory structure:\n- testä [note the umlaut]\n  - styles\n    - _import.scss\n    - main.scss\n  - gulpfile.js\n\nI can compile `main.scss` sucessfully as long as I don't use `@import`. As soon as I import the partial `_import.scss` into `main.scss` I get the following error: `undefined:undefined  Invalid UTF-8`.\n\nHaving the stylesheet files in the root folder doesn't trigger the error. As soon as I remove the umlaut from the root folder name (renaming it to `test`) the error also disappears.\n\nI'm using node.js 0.12.5, gulp-sass 2.0.4.\nUsing the node-sass CLI directly I can compile even when the folder name contains umlauts.\n#### gulpfile.js\n\n```\nvar gulp = require(\"gulp\");\nvar sass = require('gulp-sass');\n\ngulp.task(\"sass\", function () {\n    return gulp.src('./styles/main.scss')\n        .pipe(sass().on(\"error\", sass.logError))\n        .pipe(gulp.dest(\"./styles/\"));\n});\n```\n#### main.scss\n\n```\n@import \"import\";\n```\n#### _import.scss\n\n```\nbody {\n    color: red;\n}\n```\n"},"comment":{"url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/comments/260673839","html_url":"https://github.com/dlmanning/gulp-sass/issues/322#issuecomment-260673839","issue_url":"https://api.github.com/repos/dlmanning/gulp-sass/issues/322","id":260673839,"user":{"login":"jamiehutber","id":1344898,"avatar_url":"https://avatars.githubusercontent.com/u/1344898?v=3","gravatar_id":"","url":"https://api.github.com/users/jamiehutber","html_url":"https://github.com/jamiehutber","followers_url":"https://api.github.com/users/jamiehutber/followers","following_url":"https://api.github.com/users/jamiehutber/following{/other_user}","gists_url":"https://api.github.com/users/jamiehutber/gists{/gist_id}","starred_url":"https://api.github.com/users/jamiehutber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamiehutber/subscriptions","organizations_url":"https://api.github.com/users/jamiehutber/orgs","repos_url":"https://api.github.com/users/jamiehutber/repos","events_url":"https://api.github.com/users/jamiehutber/events{/privacy}","received_events_url":"https://api.github.com/users/jamiehutber/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T15:34:20Z","updated_at":"2016-11-15T15:34:20Z","body":"I am receiving the same error.\r\n\r\nUsing a repo that was created on windows and now being used on ubuntu.\r\n\r\nI am unsure if its the file or the folder structure. But I cannot see any odd characters in any of my folders.\r\n    \"gulp-sass\": \"^2.3.2\""}}
{"actor":{"display_login":"jamiehutber"}}