For Programmers: Free Programming Magazines  


Home > Archive > ASP > March 2005 > non ascII char probleme









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author non ascII char probleme
loki

2005-03-30, 3:56 am

hello,

when i do

.....
set xmlhttp = CreateObject("WinHTTP.WinHTTPRequest.5.1")
......
StrXmlhttpResponseText = xmlhttp.responseText
StrXmlhttpResponseText = replace(StrXmlhttpResponseText, "../", "/")
response.write StrXmlhttpResponseText


i have an probleme is the responseText contain non ascii char such as ? or é
!

how can i correct that ?
thank you by advance

stéphane


Bob Barrows [MVP]

2005-03-30, 8:55 am

loki wrote:
> hello,
>
> when i do
>
> ....
> set xmlhttp = CreateObject("WinHTTP.WinHTTPRequest.5.1")
> .....
> StrXmlhttpResponseText = xmlhttp.responseText
> StrXmlhttpResponseText = replace(StrXmlhttpResponseText, "../", "/")
> response.write StrXmlhttpResponseText
>
>
> i have an probleme is the responseText contain non ascii char such as
> ? or é !


What are the symptoms of this problem?

Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


loki

2005-03-30, 3:55 pm

The char ? is replace by ?

i finally find a solution :

add
<@ codepage=28591 > in the asp source and the problem is resolve :)

kind regards
stéphane


"Bob Barrows [MVP]" <reb01501@NOyahoo.SPAMcom> wrote in message
news:uqKkyHSNFHA.3788@tk2msftngp13.phx.gbl...
> loki wrote:
>
> What are the symptoms of this problem?
>
> Bob Barrows
> --
> Microsoft MVP - ASP/ASP.NET
> Please reply to the newsgroup. This email account is my spam trap so I
> don't check it very often. If you must reply off-line, then remove the
> "NO SPAM"
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com