Project

General

Profile

« Previous | Next » 

Revision 4970930c

Added by koszko over 1 year ago

prepend all generated console messages with 'Haketilo:'

View differences:

background/stream_filter.js
106 106
{
107 107
    let charset = charset_from_BOM(data) || properties.detected_charset;
108 108
    if (!charset && data.indexOf(0) !== -1) {
109
        console.debug("Warning: zeroes in bytestream, probable cached encoding mismatch. Trying to decode it as UTF-16.",
110
		      properties);
109
        console.warn("Haketilo: zeroes in bytestream, probable cached encoding mismatch. Trying to decode it as UTF-16.",
110
		     properties);
111 111
	return new TextDecoder("utf-16be");
112 112
    }
113 113

  

Also available in: Unified diff