From 364cc7e08a5d4b74891362f837ff9c34844c3d35 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Tue, 3 Mar 2015 15:09:58 +0100 Subject: src: remove NODE_INVALID_UTF8 environment variable Introduced in joyent/node v0.10 as a backwards compatibility measure. It's an ugly hack and allowing invalid UTF-8 is not a good idea in the first place, remove it. PR-URL: https://github.com/iojs/io.js/pull/1042 Reviewed-By: Trevor Norris --- src/string_bytes.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/string_bytes.h') diff --git a/src/string_bytes.h b/src/string_bytes.h index 424d9245aa..2fcfedaa09 100644 --- a/src/string_bytes.h +++ b/src/string_bytes.h @@ -10,8 +10,6 @@ namespace node { -extern int WRITE_UTF8_FLAGS; - class StringBytes { public: class InlineDecoder { -- cgit v1.2.3