Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Basics
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 21st, 2008, 12:22 PM
Registered User
Join Date: Mar 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default how do I convert character to utf hex code?

I'm try to call a url via a Rest web service. I has a username with international characters, which I'm trying to embed inside the url being called. The person's name has the character "Å", but when I create the url string it's not encoding. I've try Server.urlencode, but no luck.

Any advice on how to get the hex code for this international character?

Thanks in advance.

Reply With Quote
  #2 (permalink)  
Old January 24th, 2008, 01:48 PM
Authorized User
Join Date: Sep 2007
Location: , , .
Posts: 56
Thanks: 0
Thanked 1 Time in 1 Post

Server.URLEncode should work fine for your needs. Are you trying to encode the whole URL? If so that is your problem you just need to use the function on the values of the querystring your passing to the rest function.

The hex value for that character is %C5 btw (if you just wanted to replace the weird character).

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
convert byte[] to hex value gunjan.sh C# 2005 4 January 24th, 2008 05:15 AM
convert byte[] to hex wkm1925 C# 1 December 14th, 2006 09:07 PM
How to convert UTF8 code to character ghostnguyen C# 1 July 18th, 2005 05:28 AM
Best way to convert '\t' to TAB character? Philibuster Beginning PHP 4 January 10th, 2005 05:05 PM
convert otb files to hex string ela Classic ASP Professional 1 October 14th, 2004 01:20 PM

All times are GMT -4. The time now is 10:57 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.