1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 16:47:58 +01:00

Better dactyl: charset handling. Fix some option completion issues.

This commit is contained in:
Kris Maglione
2011-05-04 15:40:16 -04:00
parent 6b5be697ae
commit db0ffa989c
5 changed files with 8 additions and 11 deletions

View File

@@ -248,7 +248,7 @@ function LocaleChannel(pkg, path, orig) {
function StringChannel(data, contentType, uri) {
let channel = services.StreamChannel(uri);
channel.contentStream = services.StringStream(data);
channel.contentStream = services.CharsetConv("UTF-8").convertToInputStream(data);
if (contentType)
channel.contentType = contentType;
channel.contentCharset = "UTF-8";