Getting not valid UTF-8 when using google-map web component
Hi,
I just got polymer working with emcee without problems. I then wanted to try and add som Web Components, in this case google-map (https://github.com/GoogleWebComponents/google-map).
I installed google-map using Bower and then I added this to app/assets/components/application.html:
*= require google-map/google-map
But on when running rails I get an error: app/assets/components/application.html is not valid UTF-8.
Is this a n00b mistake or did I stumble on a bug somewhere? Anything I can try out?
Thanks, Martin
Probably a bug, @kretz. Do you have an example repo that has this problem? That way I can look at it using the same setup you're using. Thanks.
I created one from scratch with only the relevant parts; https://github.com/kretz/polymer-demo
Thanks, Martin
Thanks. I looked at this earlier today, and it seems like the problem is with the google-apis library, which google-maps imports.
I don't think the problem is actually with that library, because its pretty simple, but I have no idea what's causing the issue.
I've got another idea to try tomorrow, and I'll let you know.
Hey, @kretz, I have no idea how to fix this. Sorry.
The problem is definitely with the google-apis library, though. If I go to the 'google-apis.html' file and comment out the 5 html imports in there, then the error no longer occurs (but obviously the <google-map> doesn't work).
I've tried repeatedly to convert the files in that library to UTF-8, but that hasn't worked. I've also been trying to force the encoding or remove invalid characters in Emcee itself, but that hasn't worked either.
Right now, I'm out of ideas. If I think of something else, I'll try it, though.
Hi, just wanted to give you an update. This issue definitely should be fixed, but I don't have the need nor motivation to work on this gem anymore. Sorry!
Will still accept PRs, though.