comparison src/luan/modules/http/Http.luan @ 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
comparison
equal deleted inserted replaced
1080:0d884377e923 1081:ccc4573979de
123 HttpServicer.setResponse(this,this.java) 123 HttpServicer.setResponse(this,this.java)
124 M.sent_headers(this.headers) 124 M.sent_headers(this.headers)
125 end 125 end
126 126
127 function this.text_writer() 127 function this.text_writer()
128 this.java.setCharacterEncoding "UTF-8"
128 this.set() 129 this.set()
129 return IoLuan.textWriter(this.java.getWriter()) 130 return IoLuan.textWriter(this.java.getWriter())
130 end 131 end
131 132
132 function this.binary_writer() 133 function this.binary_writer()