changeset 1081:ccc4573979de

http setCharacterEncoding "UTF-8"
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 10 Nov 2016 22:47:06 -0700
parents 0d884377e923
children ece3567d4df5
files src/luan/modules/http/Http.luan
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
diff -r 0d884377e923 -r ccc4573979de src/luan/modules/http/Http.luan
--- a/src/luan/modules/http/Http.luan	Thu Nov 10 21:37:04 2016 -0700
+++ b/src/luan/modules/http/Http.luan	Thu Nov 10 22:47:06 2016 -0700
@@ -125,6 +125,7 @@
 		end
 
 		function this.text_writer()
+			this.java.setCharacterEncoding "UTF-8"
 			this.set()
 			return IoLuan.textWriter(this.java.getWriter())
 		end