From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-ch2-05v.sys.comcast.net (resqmta-ch2-05v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:37]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 460A679DCD for ; Thu, 29 Dec 2016 19:24:46 -0800 (PST) Received: from resomta-ch2-17v.sys.comcast.net ([69.252.207.113]) by resqmta-ch2-05v.sys.comcast.net with SMTP id MnnxcexyNGIG7MnoFco1oF; Fri, 30 Dec 2016 03:24:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1483068287; bh=ur7GcFXfkFPVnu0WxpPVPVWIgAzzKaKOgKSz85iGq0U=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=R/R2zxXpUw9DG+gGxY3axXSQyba/SBZkpb+uCh4O+5qAGAVobkBo1vKEuQr66nx4u VGmQ7lgiyBMioWxHxbB6MmGa2NFulGIy1ow68iWrIcWkPF0tmTO3cWpe8/nb+V1F0d 5PGYSV5MmzBF7j8hy9Bq3+Lsz/IK+w1bNFFJw616q3VK+9MDvGYMinTbolJywPRbn6 8aiJU0ekvL7y3Hk1EWgURRKG/Q5lmHuQ60lc2CpEGYAH32kf2y6pUpde5IMemhJ8Or AC3Av+b/iIuy7CJWit5orG8IZ0dNTIfF2Ow/3ApNgagMByr16TYZvKiOXnyXH8VUE4 MXbt4+hRIOVBw== Received: from unknown ([IPv6:2601:408:c301:784d:21e:4fff:fec2:a0f1]) by resomta-ch2-17v.sys.comcast.net with SMTP id MnoEcWWxCrUoUMnoEcmVgl; Fri, 30 Dec 2016 03:24:47 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke References: <8760m2w4i0.fsf@the-brannons.com> User-Agent: edbrowse/3.6.2+ Date: Thu, 29 Dec 2016 22:24:46 -0500 Message-ID: <20161129222446.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=nextpart-eb-446795 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfDdxlPWiK/RtDFlrNBxmk9Bldlj/p0JGcHlrbmhB80W9gxO1sgAZhyopCXcU3fV4lmBKgWa1I5G/EX9AcUthbTzarNoIRjBGwrsTbrM/t2nksUWlXuUT Ul9595hqSzOE4KLIWu5pnt095bG3E4a6YT43SCyzfuKkkRHtRJ+Wfv2f Subject: [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 03:24:46 -0000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --nextpart-eb-446795 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Wel it's easy enough to transliterate every breakspace into space, and = that would fix this problem, but would it break something else? alert("hello=C2=A0world"); That works now, but if I replaced breakspace mindlessly the string = would change. And probably breakspace could be part of a regexp. I don't know, but other browsers manage it, some using the same js engine we are using, so they must do something. I see in that nasa js lots of other utf8 symbols in strings, just not = breakspace, as it happens. Kevin this is good detective work. any thoughts on replacing breakspace with space, or other ideas? You notice I remove the leading byte order mark, if any, at the start = of javascript, jseng-moz.cpp line 2465. I must have run into that one before. Karl Dahlke --nextpart-eb-446795--