Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > non ascII char probleme

Reply
Thread Tools

non ascII char probleme

 
 
loki
Guest
Posts: n/a
 
      03-30-2005
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


 
Reply With Quote
 
 
 
 
Bob Barrows [MVP]
Guest
Posts: n/a
 
      03-30-2005
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"


 
Reply With Quote
 
 
 
 
loki
Guest
Posts: n/a
 
      03-30-2005
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]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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"
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Detect string has non-ASCII chars without checking each char? Michel Claveau - MVP Python 3 08-22-2010 10:13 PM
Re: Detect string has non-ASCII chars without checking each char? Vlastimil Brom Python 1 08-22-2010 05:40 AM
Regex with ASCII and non-ASCII chars TOXiC Python 5 01-31-2007 04:48 PM
(const char *cp) and (char *p) are consistent type, (const char **cpp) and (char **pp) are not consistent lovecreatesbeauty C Programming 1 05-09-2006 08:01 AM
/usr/bin/ld: ../../dist/lib/libjsdombase_s.a(BlockGrouper.o)(.text+0x98): unresolvable relocation against symbol `std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostre silverburgh.meryl@gmail.com C++ 3 03-09-2006 12:14 AM



Advertisments