Questionmarks in output

20 views
Skip to first unread message

Jan Willem de Pater

unread,
Dec 23, 2011, 12:14:51 PM12/23/11
to Closure Compiler Discuss
hello world,

I'm new to Closure Compiler. I notice that if I use it from IE9
(Win7), and I copy the compiled output to the clipboard, questionmarks
are inserted every 100 chars or so. I first thought Closure Compiler
didn't compile ok.
In Google Chrome I didn't have that problem.

regards, Jan Willem

John Lenz

unread,
Dec 23, 2011, 2:25:45 PM12/23/11
to closure-comp...@googlegroups.com
Are you using the closure-compiler.appspot.com? I would suggest using the download link.  Look for the text: 

The code may also be accessed at default.js.

Jan Willem de Pater

unread,
Dec 23, 2011, 2:48:59 PM12/23/11
to Closure Compiler Discuss
Hi John, thanks!

Yes, meanwhile I have also downloaded Java and the offline-app now.
Also, it wouldn't be a problem to use Chrome, once I know it.
Only thought I'll give a warning, because it costed to find out what
was wrong; those questionmarks every once in a while are not so
noticeable.
It is strange, I don't know if IE9 adds questionmarks also in other
cases, when copying from a text-control.

regards, Jan Willem



On 23 dic, 13:25, John Lenz <concavel...@gmail.com> wrote:
> Are you using the closure-compiler.appspot.com? I would suggest using the
> download link.  Look for the text:
>
> The code may also be accessed at
> default.js<http://closure-compiler.appspot.com/code/jsc2d738cf76ccef0aad5b0a274d...>
> .
>
> On Fri, Dec 23, 2011 at 9:14 AM, Jan Willem de Pater <tama...@yahoo.com>wrote:
>
>
>
> > hello world,
>
> > I'm new to Closure Compiler. I notice that if I use it from IE9
> > (Win7), and I copy the compiled output to the clipboard, questionmarks
> > are inserted every 100 chars or so. I first thought Closure Compiler
> > didn't compile ok.
> > In Google Chrome I didn't have that problem.
>
> > regards, Jan Willem- Ocultar texto de la cita -
>
> - Mostrar texto de la cita -

Nick Santos

unread,
Dec 23, 2011, 3:37:26 PM12/23/11
to closure-comp...@googlegroups.com
What program are you pasting into? This worked fine for me when I copy
and pasted from IE9 into emacs.

This is just an educated guess, but I strongly suspect that the
question marks are line feeds, and that there's some weird interaction
between how IE9 encodes line feeds, and how the program you're pasting
into doesn't display them properly (and so just renders them as
question marks). See this wikipedia article to learn 5x more than you
ever wanted to know about cross-platform incompatibilities in line
feed encoding:
http://en.wikipedia.org/wiki/Newline

Jan Willem de Pater

unread,
Dec 23, 2011, 4:14:18 PM12/23/11
to Closure Compiler Discuss
hi Nick,


no, I thought the same thing as you, so I wrote down the file (I use a
text editor called TextPad, already some 15 years) and I dumped, and
they were really questionmarks (ascii 63)
But if I am the only one who encounters it, then maybe I did something
wrong or so, or I just happen to have the 1 : million combination of
circumstances that causes it.
(Strange that I have the feeling to be the 1 : million guy more times,
in other cases). If I find something about the mystery I'll post.
Anyway if someone in future runs into this, use Chrome.

regards, Jan Willem




On 23 dic, 14:37, Nick Santos <nicksan...@google.com> wrote:
> What program are you pasting into? This worked fine for me when I copy
> and pasted from IE9 into emacs.
>
> This is just an educated guess, but I strongly suspect that the
> question marks are line feeds, and that there's some weird interaction
> between how IE9 encodes line feeds, and how the program you're pasting
> into doesn't display them properly (and so just renders them as
> question marks). See this wikipedia article to learn 5x more than you
> ever wanted to know about cross-platform incompatibilities in line
> feed encoding:http://en.wikipedia.org/wiki/Newline
>
> On Fri, Dec 23, 2011 at 2:48 PM, Jan Willem de Pater <tama...@yahoo.com> wrote:
>
>
>
> > Hi John, thanks!
>
> > Yes, meanwhile I have also downloaded Java and the offline-app now.
> > Also, it wouldn't be a problem to use Chrome, once I know it.
> > Only thought I'll give a warning, because it costed to find out what
> > was wrong; those questionmarks every once in a while are not so
> > noticeable.
> > It is strange, I don't know if IE9 adds questionmarks also in other
> > cases, when copying from a text-control.
>
> > regards, Jan Willem
>
> > On 23 dic, 13:25, John Lenz <concavel...@gmail.com> wrote:
> >> Are you using the closure-compiler.appspot.com? I would suggest using the
> >> download link.  Look for the text:
>
> >> The code may also be accessed at
> >> default.js<http://closure-compiler.appspot.com/code/jsc2d738cf76ccef0aad5b0a274d...>
> >> .
>
> >> On Fri, Dec 23, 2011 at 9:14 AM, Jan Willem de Pater <tama...@yahoo.com>wrote:
>
> >> > hello world,
>
> >> > I'm new to Closure Compiler. I notice that if I use it from IE9
> >> > (Win7), and I copy the compiled output to the clipboard, questionmarks
> >> > are inserted every 100 chars or so. I first thought Closure Compiler
> >> > didn't compile ok.
> >> > In Google Chrome I didn't have that problem.
>
> >> > regards, Jan Willem- Ocultar texto de la cita -
>
> >> - Mostrar texto de la cita -- Ocultar texto de la cita -

Jan Willem de Pater

unread,
Dec 23, 2011, 4:36:01 PM12/23/11
to Closure Compiler Discuss
hi Nick again,


you nailed in the right direction, it seems to be a TextPad thing. If
I paste from IE9 to Notepad: no questionmarks.
If I paste from Notepad to TextPad: yes questionmarks. If I paste from
Chrome to TextPad: no questionmarks.
Life is so weird. Thanks for the help.

regards, Jan Willem
Reply all
Reply to author
Forward
0 new messages