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 May 24th, 2006, 10:00 AM
Friend of Wrox
 
Join Date: May 2005
Posts: 149
Thanks: 0
Thanked 0 Times in 0 Posts
Default prevent unicode as username?

How Can I find out if the user has entered unicode characters in the username field like arabic or farsi????

 
Old May 26th, 2006, 05:59 PM
Authorized User
 
Join Date: Jun 2003
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to erobb Send a message via Yahoo to erobb
Default

I’ve struggled with something similar myself when using soap posts. XML fails with unicode characters in the soap post. I looked into this for a while and it appears that ASP doesn’t have an intrinsic function to convert unicode to ascii.

Does anyone know of an efficient function to convert large strings (5,000 chrs) from unicode to ascii? I may have 1 uni char in a 5,000 character post and it hoses the whole post + the fact its infuriating to the end user.

Earl
www.jhdesigninc.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Unicode From Excel nullGumby Access VBA 1 December 1st, 2006 07:02 PM
about UNICODE hara_sap Java GUI 2 May 6th, 2005 03:19 PM
Unicode MHS Team VB How-To 0 January 18th, 2005 12:03 PM
unicode soodamanir C++ Programming 1 September 20th, 2004 09:02 AM
UniCode Faiz Visual C++ 5 December 17th, 2003 10:28 AM





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