Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 21st, 2008, 12:22 PM
Registered User
 
Join Date: Mar 2006
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.

 
Old January 24th, 2008, 01:48 PM
Authorized User
 
Join Date: Sep 2007
Posts: 56
Thanks: 0
Thanked 1 Time in 1 Post
Default

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).

http://mynameissteve.com





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





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