From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (unknown [IPv6:2602:4b:a4a9:e100::63a:26e7]) by hurricane.the-brannons.com (Postfix) with ESMTPSA id 2657379655 for ; Fri, 30 Dec 2016 12:08:15 -0800 (PST) From: Chris Brannon To: Edbrowse-dev@lists.the-brannons.com References: <871swpw8p2.fsf@the-brannons.com> <20161130145852.eklhad@comcast.net> Date: Fri, 30 Dec 2016 12:07:44 -0800 In-Reply-To: <20161130145852.eklhad@comcast.net> (Karl Dahlke's message of "Fri, 30 Dec 2016 14:58:52 -0500") Message-ID: <87wpehuqnj.fsf@the-brannons.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Edbrowse-dev] bad byte in NASA's vendor.js X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.23 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2016 20:08:15 -0000 Karl Dahlke writes: > It doesn't seem to handle breakspace as whitespace however, and yet it should, and apparently does in other browsers. I don't know if you have the JavaScript shell that comes with Spidermonkey installed, but it handles it as whitespace just fine there too. Test case: http://the-brannons.com/test.js.txt So why not in JS_EvaluateScript? I added some debugging statements on the JS side to print the bytes that were coming through, and they did in fact come through as they should. -- Chris