tags:

views:

20

answers:

1

I am trying to compile my LESSCSS document, and I am getting an error when trying to use @charset "UTF-8";.

I want to be sure my document is encoded correctly because of the way I embed my fonts. src: local('☺'), url(...);

Any ideas?

+1  A: 

Update:

This seems to be a big, they say to fix it in the next version:

More Info: https://less.tenderapp.com/discussions/problems/8-charset-error

Thanks for posting, this is fixed in the upcoming 2.0 version, which should be released sometime this month. It is indeed due to @charset not being parsed as a directive.

That comment by the LESS team was published on:

May 05, 2010 @ 05:50 AM

So it should be fixed in recent version. Make sure that you are using the latest version of it.

Sarfraz