You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Firefox: The character encoding of the HTML document was not declared #1
Small issue I am sure many people will walk into and that is super easy to fix once and for all,
in firefox, webpack-dev-server generates the following warning whenever the page reloads:
"The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must to be declared in the document or in the transfer protocol."
Didn't work for me I am using WebSocket class to connect to my server with index.php javascript code seems to alright I don't know what happen on my php file with html code like
<title>PHP Chat With Mteule</title>
Write Message to Send Here
<textarea placeholder="Message is public don't abuse"></textarea>
<script type = "text/javascript">
var conn = new WebSocket('ws://192.168.1.116:2700');
conn.onopen = function(e){
console.log("Connectio Established");
conn.send("I got in my Self as Agent");
};
conn.onmessage = function(e){
console.log(e.data);
};
</script>
</footer>
</body>
Activity
awanjila commentedon Dec 3, 2015
Lol! Thank you..
Merge pull request #1 from jamsesso/http-proxy-middleware
Davecalix commentedon Feb 7, 2017
Thanks!...
rwever-316 commentedon Aug 23, 2017
DharshanJS commentedon Dec 15, 2017
Thanks!
Evan2804 commentedon Mar 12, 2018
Thanks.
sudosoul commentedon Jul 27, 2018
+1
LandonFerg commentedon Aug 23, 2018
Thanks!
ziya5635 commentedon Sep 30, 2018
thanks.
gorakhnathlad commentedon Oct 16, 2018
Thanks.
Merge pull request webpack#1 from reverbdotcom/erik/2-node-10
BouzianeMohammedAmin commentedon Mar 21, 2019
thanks ;)
arihajix commentedon Mar 28, 2019
Cool! Tnx pal!
DMTrooper3 commentedon Apr 8, 2019
Thank you 🐱🐉
gisellevqz commentedon Apr 25, 2019
it worked! Thanks for sharing
mohammed1997010 commentedon Aug 22, 2019
lol man :D
haddad142 commentedon Mar 15, 2020
Thanks dude!
geradseth commentedon Jul 23, 2021
Didn't work for me I am using WebSocket class to connect to my server with index.php javascript code seems to alright I don't know what happen on my php file with html code like
<title>PHP Chat With Mteule</title>