File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
src/com/microsoft/azure/documentdb/sample Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
- <%@ page language =" java" contentType =" text/html; charset=ISO-8859-1 " pageEncoding =" ISO-8859-1 " %>
1
+ <%@ page language =" java" contentType =" text/html; charset=UTF-8 " pageEncoding =" UTF-8 " %>
2
2
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd" >
3
3
<html >
4
4
<head >
5
- <meta http-equiv =" Content-Type" content =" text/html; charset=ISO-8859-1 " >
5
+ <meta http-equiv =" Content-Type" content =" text/html; charset=UTF-8 " >
6
6
<meta http-equiv =" X-UA-Compatible" content =" IE=edge;" />
7
7
<title >Azure DocumentDB Java Sample</title >
8
8
Original file line number Diff line number Diff line change 26
26
</plugins >
27
27
</build >
28
28
<dependencies >
29
+ <dependency >
30
+ <groupId >javax.servlet</groupId >
31
+ <artifactId >javax.servlet-api</artifactId >
32
+ <version >3.0.1</version >
33
+ </dependency >
29
34
<dependency >
30
35
<groupId >com.google.code.gson</groupId >
31
36
<artifactId >gson</artifactId >
49
54
<dependency >
50
55
<groupId >com.microsoft.azure</groupId >
51
56
<artifactId >azure-documentdb</artifactId >
52
- <version >0.9.0 </version >
57
+ <version >1.0.1 </version >
53
58
</dependency >
54
59
</dependencies >
55
60
</project >
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ protected void doGet(HttpServletRequest request,
68
68
break ;
69
69
}
70
70
71
+ response .setCharacterEncoding ("UTF-8" );
71
72
response .getWriter ().println (apiResponse );
72
73
}
73
74
You can’t perform that action at this time.
0 commit comments