Skip to content

Commit 8c1b31c

Browse files
committed
Set charset.
1 parent 4b585e2 commit 8c1b31c

File tree

2 files changed

+49
-6
lines changed

2 files changed

+49
-6
lines changed

.gitignore

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
6+
# Runtime data
7+
pids
8+
*.pid
9+
*.seed
10+
11+
# Directory for instrumented libs generated by jscoverage/JSCover
12+
lib-cov
13+
14+
# Coverage directory used by tools like istanbul
15+
coverage
16+
17+
# nyc test coverage
18+
.nyc_output
19+
20+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
21+
.grunt
22+
23+
# node-waf configuration
24+
.lock-wscript
25+
26+
# Compiled binary addons (http://nodejs.org/api/addons.html)
27+
build/Release
28+
29+
# Dependency directories
30+
node_modules
31+
jspm_packages
32+
33+
# Optional npm cache directory
34+
.npm
35+
36+
# Optional REPL history
37+
.node_repl_history
38+
39+
# Transpiled files
40+
lib

test/cookie.html

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
<html>
2-
<body>
3-
Loading...
4-
<script>
5-
document.body.innerHTML = 'Cookies: ' + document.cookie;
6-
</script>
7-
</body>
2+
<head>
3+
<meta charset="UTF-8">
4+
</head>
5+
<body>
6+
Loading...
7+
<script>
8+
document.body.innerHTML = 'Cookies: ' + document.cookie;
9+
</script>
10+
</body>
811
</html>

0 commit comments

Comments
 (0)