###時間が経つと文字化けする?
起動当初は正常に表示されるのですが、atomを起動してしばらくコードを入力してから実行すると文字化けが起こります。
###init.coffee style.less を設定しても治らない
以下のようにinit.coffee style.lessを設定しても治りません
init
1# Your init script 2# 3# Atom will evaluate this file each time a new window is opened. It is run 4# after packages are loaded/activated and after the previous editor state 5# has been restored. 6# 7# An example hack to log to the console when each text editor is saved. 8# 9# atom.workspace.observeTextEditors (editor) -> 10# editor.onDidSave -> 11# console.log "Saved! #{editor.getPath()}" 12process.env.PYTHONIOENCODING = "utf-8";
style
1// style UI elements inside atom-text-editor 2atom-text-editor .cursor { 3 // border-color: red; 4} 5 6.atom-runner pre{ 7 font-family: meiryo; 8 font-size: 14px; 9}
※style.lessは長いので省略しています。
もちろん、ファイルは保存して終了し、Atomの再起動を行いました。
###環境
Windows10
Python3.7.4
WebDriverとBeautifulSoupなどを使って、スクレイピングを行っています。
あなたの回答
tips
プレビュー