Wrox Programmer Forums
|
.NET Framework 1.x For discussing versions 1.0 and 1.1 of the Microsoft .NET Framework.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 1.x 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, 2007, 10:49 PM
Registered User
 
Join Date: May 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Convert Unicode string to ANSI

I have .aspx.cs page in C#. this page is having data in UNICODE. i want to send data to database in ANSI. plz tell me how to do this
Thanx
ashoo


 
Old June 7th, 2007, 03:11 AM
Registered User
 
Join Date: Sep 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to utcursch Send a message via AIM to utcursch Send a message via Yahoo to utcursch
Default

Convert the Unicode characters to respective hex representations or Unicode character escape sequences.

Eg. "#2349;#2366;#2352;#2340;" would become "#2349;#2366;#2352;#2340;"

http://msdn2.microsoft.com/en-us/library/aa664669(VS.71).aspx

ut





Similar Threads
Thread Thread Starter Forum Replies Last Post
convert to string prafullaborade XML 7 May 29th, 2008 02:59 PM
conversion of non ANSI SQL to ANSI SQL using Java marco_1 Java Basics 0 March 16th, 2007 10:46 AM
Convert to unicode msoul Classic ASP Basics 2 January 12th, 2007 10:37 AM
ANSI STANDARDS saurabh1983in C++ Programming 1 May 24th, 2006 02:18 AM
System.Text.UTF8Encoding? Unicode convert?!? forum1 Excel VBA 0 May 9th, 2005 03:43 PM





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