how to hide %20, %x or + when getting from DB

T

Thomas Henz

Hi there!

I migrated a mysql DB into a MSSQL DB. In this DB all chars like "blank"
or @ are encoded in...whats it called in english? :)
you know, when a blank is "+" or @ is "%40"... :)

How do I resolve those "%20"s back into a readable character or a blank
with asp?
Plus: How do I convert blanks into + again to write them back into the DB.

Thanks a lot,

tom
 
T

Thomas Henz

Well I found URLEncode. This should do!

But:

when I try to do:

response.write(server.urlencode(rs("datafield"))) it wont do :(

Tom
 
P

Pappas Mike

Try to re-import your data from mysql to mssql. The best way is to import
your data from mysql to mssql using Ms Data Transormation Services and the
correct odbc driver for mysql of course...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top