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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user