CSS loading in Chinese
When I opened my webpage, the CSS was not working so I checked the console to see what was going on and it turns out it wasn't loading because my CSS was in Chinese, even though it is English in my Sublime Text program.
Here is the Chinese:
⨯䜠湥牥污䌠卓映牯攠敶祲瀠条⼪汵渣癡笠瀉獯瑩潩㩮猠楴正㭹††楬瑳猭祴敬琭灹㩥渠
湯㭥††慭杲湩›㬰††慰摤湩㩧〠഻ †漠敶晲潬㩷栠摩敤㭮††慢正牧畯摮挭汯牯›㌣㑆㑄㬲††
潢桳摡睯›瀰⁸瀸⁸㘱硰〠硰爠执⡡ⰰⰰⰰ⸰⤲഻ऊൽഊ氊慮⁶ൻ †映潬瑡›敬瑦഻ऊൽഊ氊ⱡ愠瀮摡
笠††楤灳慬㩹椠汮湩ⵥ汢捯㭫††潣潬㩲⌠㉅㙅㍅഻ †琠硥污杩㩮挠湥整㭲††慰摤湩㩧㈠瀰⁸
㔲硰഻ †琠硥敤潣慲楴湯›潮敮഻ऊ潦瑮猭穩㩥㈠瀰㭸昉湯慦業祬›匧畯捲慓獮倠潲Ⱗ猠湡敳
楲㭦紉楬愠瀮摡笠瀉摡楤杮›〲硰㘠瀰㭸紉楬渮癡愠栺癯牥笠戉捡杫潲湵ⵤ潣潬㩲⌠䐸
㤹〹഻ऊൽഊ氊捡楴敶栺癯牥笠按汯牯›䔣䔲䔶㬳紉ഉ栊浴ⱬ戠摯⁹ൻ †洠牡楧㩮〠഻ †瀠摡
楤杮›㬰戉捡杫潲湵ⵤ潣潬㩲爠执㠨ⰹ㤠ⰸㄠ㘰㬩紉捡楴敶笠戉捡杫潲湵ⵤ潣潬㩲⌠㉅㙅㍅
※按汯牯›㌣㑆㑄㬲紉爣杩瑨慮⁶ൻऊ汦慯㩴爠杩瑨഻ऊൽഊ瀊笠洉牡楧潢瑴浯›瀲㭸
ൽഊ栊笱洉牡楧潢瑴浯›瀳㭸
My CSS is supposed to load as:
ul#nav
position: sticky;
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #3F4D42;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
li.nav
float: left;
li a, a.pad
display: inline-block;
color: #E2E6E3;
text-align: center;
padding: 20px 25px;
text-decoration: none;
font-size: 20px;
font-family: 'Source Sans Pro', sans-serif;
li a.pad
padding: 20px 60px;
li.nav a:hover
background-color: #8D9990;
li a.active:hover
color: #E2E6E3;
html, body
margin: 0;
padding: 0;
background-color: rgb(89, 98, 106);
a.active
background-color: #E2E6E3;
color: #3F4D42;
#rightnav
float: right;
p
margin-bottom: 2px;
h1
margin-bottom: 3px;
css
|
show 3 more comments
When I opened my webpage, the CSS was not working so I checked the console to see what was going on and it turns out it wasn't loading because my CSS was in Chinese, even though it is English in my Sublime Text program.
Here is the Chinese:
⨯䜠湥牥污䌠卓映牯攠敶祲瀠条⼪汵渣癡笠瀉獯瑩潩㩮猠楴正㭹††楬瑳猭祴敬琭灹㩥渠
湯㭥††慭杲湩›㬰††慰摤湩㩧〠഻ †漠敶晲潬㩷栠摩敤㭮††慢正牧畯摮挭汯牯›㌣㑆㑄㬲††
潢桳摡睯›瀰⁸瀸⁸㘱硰〠硰爠执⡡ⰰⰰⰰ⸰⤲഻ऊൽഊ氊慮⁶ൻ †映潬瑡›敬瑦഻ऊൽഊ氊ⱡ愠瀮摡
笠††楤灳慬㩹椠汮湩ⵥ汢捯㭫††潣潬㩲⌠㉅㙅㍅഻ †琠硥污杩㩮挠湥整㭲††慰摤湩㩧㈠瀰⁸
㔲硰഻ †琠硥敤潣慲楴湯›潮敮഻ऊ潦瑮猭穩㩥㈠瀰㭸昉湯慦業祬›匧畯捲慓獮倠潲Ⱗ猠湡敳
楲㭦紉楬愠瀮摡笠瀉摡楤杮›〲硰㘠瀰㭸紉楬渮癡愠栺癯牥笠戉捡杫潲湵ⵤ潣潬㩲⌠䐸
㤹〹഻ऊൽഊ氊捡楴敶栺癯牥笠按汯牯›䔣䔲䔶㬳紉ഉ栊浴ⱬ戠摯⁹ൻ †洠牡楧㩮〠഻ †瀠摡
楤杮›㬰戉捡杫潲湵ⵤ潣潬㩲爠执㠨ⰹ㤠ⰸㄠ㘰㬩紉捡楴敶笠戉捡杫潲湵ⵤ潣潬㩲⌠㉅㙅㍅
※按汯牯›㌣㑆㑄㬲紉爣杩瑨慮⁶ൻऊ汦慯㩴爠杩瑨഻ऊൽഊ瀊笠洉牡楧潢瑴浯›瀲㭸
ൽഊ栊笱洉牡楧潢瑴浯›瀳㭸
My CSS is supposed to load as:
ul#nav
position: sticky;
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #3F4D42;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
li.nav
float: left;
li a, a.pad
display: inline-block;
color: #E2E6E3;
text-align: center;
padding: 20px 25px;
text-decoration: none;
font-size: 20px;
font-family: 'Source Sans Pro', sans-serif;
li a.pad
padding: 20px 60px;
li.nav a:hover
background-color: #8D9990;
li a.active:hover
color: #E2E6E3;
html, body
margin: 0;
padding: 0;
background-color: rgb(89, 98, 106);
a.active
background-color: #E2E6E3;
color: #3F4D42;
#rightnav
float: right;
p
margin-bottom: 2px;
h1
margin-bottom: 3px;
css
Sidenote, that's not all chinese.
– vrugtehagel
Nov 13 '18 at 17:07
There must be something else going on here... Need more details
– GrumpyCrouton
Nov 13 '18 at 17:07
1
Check your Sublime Text file encoding settings.
– BoltClock♦
Nov 13 '18 at 17:08
@vrugtehagel google translate said it was chinese
– Tyler Larson
Nov 13 '18 at 17:09
Try to copy your CSS code and paste it in a.txt
file in regular notepad then change the extension to.css
and upload to your site.
– Mustafa
Nov 13 '18 at 17:09
|
show 3 more comments
When I opened my webpage, the CSS was not working so I checked the console to see what was going on and it turns out it wasn't loading because my CSS was in Chinese, even though it is English in my Sublime Text program.
Here is the Chinese:
⨯䜠湥牥污䌠卓映牯攠敶祲瀠条⼪汵渣癡笠瀉獯瑩潩㩮猠楴正㭹††楬瑳猭祴敬琭灹㩥渠
湯㭥††慭杲湩›㬰††慰摤湩㩧〠഻ †漠敶晲潬㩷栠摩敤㭮††慢正牧畯摮挭汯牯›㌣㑆㑄㬲††
潢桳摡睯›瀰⁸瀸⁸㘱硰〠硰爠执⡡ⰰⰰⰰ⸰⤲഻ऊൽഊ氊慮⁶ൻ †映潬瑡›敬瑦഻ऊൽഊ氊ⱡ愠瀮摡
笠††楤灳慬㩹椠汮湩ⵥ汢捯㭫††潣潬㩲⌠㉅㙅㍅഻ †琠硥污杩㩮挠湥整㭲††慰摤湩㩧㈠瀰⁸
㔲硰഻ †琠硥敤潣慲楴湯›潮敮഻ऊ潦瑮猭穩㩥㈠瀰㭸昉湯慦業祬›匧畯捲慓獮倠潲Ⱗ猠湡敳
楲㭦紉楬愠瀮摡笠瀉摡楤杮›〲硰㘠瀰㭸紉楬渮癡愠栺癯牥笠戉捡杫潲湵ⵤ潣潬㩲⌠䐸
㤹〹഻ऊൽഊ氊捡楴敶栺癯牥笠按汯牯›䔣䔲䔶㬳紉ഉ栊浴ⱬ戠摯⁹ൻ †洠牡楧㩮〠഻ †瀠摡
楤杮›㬰戉捡杫潲湵ⵤ潣潬㩲爠执㠨ⰹ㤠ⰸㄠ㘰㬩紉捡楴敶笠戉捡杫潲湵ⵤ潣潬㩲⌠㉅㙅㍅
※按汯牯›㌣㑆㑄㬲紉爣杩瑨慮⁶ൻऊ汦慯㩴爠杩瑨഻ऊൽഊ瀊笠洉牡楧潢瑴浯›瀲㭸
ൽഊ栊笱洉牡楧潢瑴浯›瀳㭸
My CSS is supposed to load as:
ul#nav
position: sticky;
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #3F4D42;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
li.nav
float: left;
li a, a.pad
display: inline-block;
color: #E2E6E3;
text-align: center;
padding: 20px 25px;
text-decoration: none;
font-size: 20px;
font-family: 'Source Sans Pro', sans-serif;
li a.pad
padding: 20px 60px;
li.nav a:hover
background-color: #8D9990;
li a.active:hover
color: #E2E6E3;
html, body
margin: 0;
padding: 0;
background-color: rgb(89, 98, 106);
a.active
background-color: #E2E6E3;
color: #3F4D42;
#rightnav
float: right;
p
margin-bottom: 2px;
h1
margin-bottom: 3px;
css
When I opened my webpage, the CSS was not working so I checked the console to see what was going on and it turns out it wasn't loading because my CSS was in Chinese, even though it is English in my Sublime Text program.
Here is the Chinese:
⨯䜠湥牥污䌠卓映牯攠敶祲瀠条⼪汵渣癡笠瀉獯瑩潩㩮猠楴正㭹††楬瑳猭祴敬琭灹㩥渠
湯㭥††慭杲湩›㬰††慰摤湩㩧〠഻ †漠敶晲潬㩷栠摩敤㭮††慢正牧畯摮挭汯牯›㌣㑆㑄㬲††
潢桳摡睯›瀰⁸瀸⁸㘱硰〠硰爠执⡡ⰰⰰⰰ⸰⤲഻ऊൽഊ氊慮⁶ൻ †映潬瑡›敬瑦഻ऊൽഊ氊ⱡ愠瀮摡
笠††楤灳慬㩹椠汮湩ⵥ汢捯㭫††潣潬㩲⌠㉅㙅㍅഻ †琠硥污杩㩮挠湥整㭲††慰摤湩㩧㈠瀰⁸
㔲硰഻ †琠硥敤潣慲楴湯›潮敮഻ऊ潦瑮猭穩㩥㈠瀰㭸昉湯慦業祬›匧畯捲慓獮倠潲Ⱗ猠湡敳
楲㭦紉楬愠瀮摡笠瀉摡楤杮›〲硰㘠瀰㭸紉楬渮癡愠栺癯牥笠戉捡杫潲湵ⵤ潣潬㩲⌠䐸
㤹〹഻ऊൽഊ氊捡楴敶栺癯牥笠按汯牯›䔣䔲䔶㬳紉ഉ栊浴ⱬ戠摯⁹ൻ †洠牡楧㩮〠഻ †瀠摡
楤杮›㬰戉捡杫潲湵ⵤ潣潬㩲爠执㠨ⰹ㤠ⰸㄠ㘰㬩紉捡楴敶笠戉捡杫潲湵ⵤ潣潬㩲⌠㉅㙅㍅
※按汯牯›㌣㑆㑄㬲紉爣杩瑨慮⁶ൻऊ汦慯㩴爠杩瑨഻ऊൽഊ瀊笠洉牡楧潢瑴浯›瀲㭸
ൽഊ栊笱洉牡楧潢瑴浯›瀳㭸
My CSS is supposed to load as:
ul#nav
position: sticky;
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #3F4D42;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
li.nav
float: left;
li a, a.pad
display: inline-block;
color: #E2E6E3;
text-align: center;
padding: 20px 25px;
text-decoration: none;
font-size: 20px;
font-family: 'Source Sans Pro', sans-serif;
li a.pad
padding: 20px 60px;
li.nav a:hover
background-color: #8D9990;
li a.active:hover
color: #E2E6E3;
html, body
margin: 0;
padding: 0;
background-color: rgb(89, 98, 106);
a.active
background-color: #E2E6E3;
color: #3F4D42;
#rightnav
float: right;
p
margin-bottom: 2px;
h1
margin-bottom: 3px;
css
css
asked Nov 13 '18 at 17:05
Tyler LarsonTyler Larson
61
61
Sidenote, that's not all chinese.
– vrugtehagel
Nov 13 '18 at 17:07
There must be something else going on here... Need more details
– GrumpyCrouton
Nov 13 '18 at 17:07
1
Check your Sublime Text file encoding settings.
– BoltClock♦
Nov 13 '18 at 17:08
@vrugtehagel google translate said it was chinese
– Tyler Larson
Nov 13 '18 at 17:09
Try to copy your CSS code and paste it in a.txt
file in regular notepad then change the extension to.css
and upload to your site.
– Mustafa
Nov 13 '18 at 17:09
|
show 3 more comments
Sidenote, that's not all chinese.
– vrugtehagel
Nov 13 '18 at 17:07
There must be something else going on here... Need more details
– GrumpyCrouton
Nov 13 '18 at 17:07
1
Check your Sublime Text file encoding settings.
– BoltClock♦
Nov 13 '18 at 17:08
@vrugtehagel google translate said it was chinese
– Tyler Larson
Nov 13 '18 at 17:09
Try to copy your CSS code and paste it in a.txt
file in regular notepad then change the extension to.css
and upload to your site.
– Mustafa
Nov 13 '18 at 17:09
Sidenote, that's not all chinese.
– vrugtehagel
Nov 13 '18 at 17:07
Sidenote, that's not all chinese.
– vrugtehagel
Nov 13 '18 at 17:07
There must be something else going on here... Need more details
– GrumpyCrouton
Nov 13 '18 at 17:07
There must be something else going on here... Need more details
– GrumpyCrouton
Nov 13 '18 at 17:07
1
1
Check your Sublime Text file encoding settings.
– BoltClock♦
Nov 13 '18 at 17:08
Check your Sublime Text file encoding settings.
– BoltClock♦
Nov 13 '18 at 17:08
@vrugtehagel google translate said it was chinese
– Tyler Larson
Nov 13 '18 at 17:09
@vrugtehagel google translate said it was chinese
– Tyler Larson
Nov 13 '18 at 17:09
Try to copy your CSS code and paste it in a
.txt
file in regular notepad then change the extension to .css
and upload to your site.– Mustafa
Nov 13 '18 at 17:09
Try to copy your CSS code and paste it in a
.txt
file in regular notepad then change the extension to .css
and upload to your site.– Mustafa
Nov 13 '18 at 17:09
|
show 3 more comments
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53286154%2fcss-loading-in-chinese%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53286154%2fcss-loading-in-chinese%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Sidenote, that's not all chinese.
– vrugtehagel
Nov 13 '18 at 17:07
There must be something else going on here... Need more details
– GrumpyCrouton
Nov 13 '18 at 17:07
1
Check your Sublime Text file encoding settings.
– BoltClock♦
Nov 13 '18 at 17:08
@vrugtehagel google translate said it was chinese
– Tyler Larson
Nov 13 '18 at 17:09
Try to copy your CSS code and paste it in a
.txt
file in regular notepad then change the extension to.css
and upload to your site.– Mustafa
Nov 13 '18 at 17:09