Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #12119

Re: Textstream Write

From "R.Wieser" <address@not.available>
Newsgroups microsoft.public.scripting.vbscript
Subject Re: Textstream Write
Date 2019-05-01 16:12 +0200
Organization Aioe.org NNTP Server
Message-ID <qac9hb$fak$1@gioia.aioe.org> (permalink)
References (4 earlier) <qaa856$1hhs$1@gioia.aioe.org> <qaadfo$t2d$1@dont-email.me> <qabjo3$1clv$1@gioia.aioe.org> <qac42q$ppk$1@dont-email.me> <qac8r0$c6m$1@gioia.aioe.org>

Show all headers | View raw


> In other words, I have no idea what you are talking about there - and I 
> have the idea you are rather confused about what happens where or how. 
> Pardon me the bruthish honesty.

Ah.   I just realized:  You are not loading the page itself, but are letting 
IE do that for you.  Only after that you take a peek at the DOM.   In that 
case IE already has done its conversions (like from multi-byte to 
wide-character), so you can't save it /before/ giving it to IE (as its IE 
doing the loading).

But that just means that you have to work with whatever IE gives you when 
you do your "innerHTML" extraction of your DIV (which still is a perfect 
representation of what you saw in it!).    Not much choice there, right ? 
:-)

But do yourself a favour and /convert/ those non-ANSI characters (instead of 
just dropping them).   If you don't you /will/ get into problems with pages 
that will have gotten a different meaning than the origional. (just imagine 
removing all end-of-line colons from a few lines of text ....)

Regards,
Rudy Wieser

Back to microsoft.public.scripting.vbscript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Textstream Write "Mayayana" <mayayana@invalid.nospam> - 2019-04-29 08:55 -0400
  Re: Textstream Write JJ <jj4public@vfemail.net> - 2019-04-30 17:45 +0700
    Re: Textstream Write "R.Wieser" <address@not.available> - 2019-04-30 13:21 +0200
  Re: Textstream Write "Mayayana" <mayayana@invalid.nospam> - 2019-04-30 08:51 -0400
    Re: Textstream Write "R.Wieser" <address@not.available> - 2019-04-30 18:22 +0200
      Re: Textstream Write "Mayayana" <mayayana@invalid.nospam> - 2019-04-30 13:01 -0400
        Re: Textstream Write "R.Wieser" <address@not.available> - 2019-04-30 21:37 +0200
          Re: Textstream Write "Mayayana" <mayayana@invalid.nospam> - 2019-04-30 17:06 -0400
            Re: Textstream Write "R.Wieser" <address@not.available> - 2019-05-01 10:01 +0200
              Re: Textstream Write "Mayayana" <mayayana@invalid.nospam> - 2019-05-01 08:37 -0400
                Re: Textstream Write "R.Wieser" <address@not.available> - 2019-05-01 16:00 +0200
                Re: Textstream Write "R.Wieser" <address@not.available> - 2019-05-01 16:12 +0200
                Re: Textstream Write "Mayayana" <mayayana@invalid.nospam> - 2019-05-01 10:47 -0400
                Re: Textstream Write "R.Wieser" <address@not.available> - 2019-05-01 19:09 +0200
  Re: Textstream Write "Mayayana" <mayayana@invalid.nospam> - 2019-05-04 15:26 -0400
    Re: Textstream Write JJ <jj4public@vfemail.net> - 2019-05-05 20:15 +0700
      Re: Textstream Write "Mayayana" <mayayana@invalid.nospam> - 2019-05-05 10:19 -0400

csiph-web