Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > microsoft.public.scripting.vbscript > #12111
| Path | csiph.com!aioe.org!.POSTED.wIgm+2MIUUYkuZKIR0Uhug.user.gioia.aioe.org!not-for-mail |
|---|---|
| From | "R.Wieser" <address@not.available> |
| Newsgroups | microsoft.public.scripting.vbscript |
| Subject | Re: Textstream Write |
| Date | Tue, 30 Apr 2019 21:37:08 +0200 |
| Organization | Aioe.org NNTP Server |
| Lines | 34 |
| Message-ID | <qaa856$1hhs$1@gioia.aioe.org> (permalink) |
| References | <qa6scj$rb4$1@dont-email.me> <qa9gfo$1qi$1@dont-email.me> <qa9snk$1rhs$1@gioia.aioe.org> <qa9v5s$vuj$1@dont-email.me> |
| NNTP-Posting-Host | wIgm+2MIUUYkuZKIR0Uhug.user.gioia.aioe.org |
| X-Complaints-To | abuse@aioe.org |
| X-Notice | Filtered by postfilter v. 0.9.2 |
| X-Newsreader | Microsoft Outlook Express 6.00.2900.5512 |
| X-RFC2646 | Format=Flowed; Original |
| X-Priority | 3 |
| X-MSMail-Priority | Normal |
| X-MimeOLE | Produced By Microsoft MimeOLE V6.00.2900.5512 |
| Xref | csiph.com microsoft.public.scripting.vbscript:12111 |
Show key headers only | View raw
Mayayana, > I understand. What I meant was that all 256 values > correspond to ANSI characters. :-) But thats the problem: You have /way/ more than 256 possible values in that string. You're using VBScript, in it internally stores its text in widechars (two bytes a piece), meaning you've got not (just) 256, but 65536 values on your hands. > When I try to use Asc or AscW or AscB to see what > IE thinks is there, they all fail. Thats odd. Could you show the code you're using to display the Asc values of your webpage string ? And could you retry with a fully ASCII string (just to see if its the code or the string thats causing the problems) ? And you could also try to pull your string thru that function I posted - just to see if it has got the same problem. > So I think the issue here is not a problem with > UTF-8 in Textstream but rather I need to filter > out &#[over 255]; before giving it to IE in the first place. Don't forget the under zero ones. You're working with signed ints. (Its what bit me in the behind the first time :-) ). And I'm not quite sure I follow. Wasn't the problem with saving to a textfile ? Regards, Rudy Wieser
Back to microsoft.public.scripting.vbscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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