SASS/SCSS-未知编码格式 [英] SASS/ SCSS - Unknown Encoding Format

查看:50
本文介绍了SASS/SCSS-未知编码格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Brackets文本编辑器,并且一直在使用SASS.意外的计算机重新启动影响了文件的编码,我的CSS代码被带问号的菱形替换.

每当我尝试打开SCSS文件时,都会收到错误消息未知编码格式".内容变成0行,而不是我的代码.我还尝试使用不同的编辑器(例如Sublime和Notepad ++)打开SCSS文件,所有结果都是相同的.

这可能是什么原因?由于新帐户的限制,我无法附加屏幕截图.

解决方案

尝试将文件编码更改为UTF-8.尝试使用此实用程序 EmEditor .

I am using the Brackets text editor and I have been using SASS. An unexpected computer reboot affected the file's encoding and my CSS code was replaced by diamonds with question marks.

I am getting the error "unknown encoding format", whenever I try opening my SCSS file. The content became rows of 0s instead of my code. I have also tried opening my SCSS file using different editors such as Sublime and Notepad++, all results are same.

What could be the cause of this? I cannot attach screenshots due to new account limitations.

解决方案

Try to change your file encoding to UTF-8. try this utility EmEditor.

这篇关于SASS/SCSS-未知编码格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆