2013-04-24 16 views
1

出於某種原因,當我運行的CSS皮棉犀牛我得到以下錯誤:CSSlint「資歷過高」的錯誤未知令牌「∩╗┐」

Csslint error

我的工作

我的內容是這樣的:

.body { 
} 

.testelement { 

} 

.loadingIndicator { 
    width: 16px; 
    height: 16px; 
    background-image: url('/images/loadingIndicator.gif'); 
} 

似乎某種編碼問題的,但我不能似乎找出問題所在。

回答

1

我似乎自己發現了這個問題。

在Visual Studio 2012中,文件保存爲UTF-8。顯然,CSS lint無法處理這種編碼。沒有BOM的UTF-8似乎沒有問題。