tanepiper/SublimeText-Nodejs — Issue #10: LookupError: unknown encoding
Author: danielmagnussons
Created: 2012-02-07 21:02:13+00:00
State: open

example.js;

var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World\n');
}).listen(1337, "127.0.0.1");
console.log('Server running at http://127.0.0.1:1337/');

alt+r ( alt+d also)

gives this in sublime console;

Exception in thread Thread-1:
Traceback (most recent call last):
File ".\threading.py", line 532, in __bootstrap_inner
File ".\lib\command_thread.py", line 44, in run
File ".\lib\command_thread.py", line 20, in _make_text_safeish
LookupError: unknown encoding:

its utf8 on the file, windows 64bit, sublime 2165