Solved

How to convert encoding characters?

Posted on 2009-04-01
2
243 Views
Last Modified: 2012-05-06
I populate a DataSet from an Access file. The problem is that in my Access database, I have a different encoding with characters like:



¾

Notice that the quotes are not the same as the usual ' or ". How can I convert my characters to a UTF-8 set while preserving the data? In the example above, I would want to replace with these:

'
"
3/4

How can I do this in a good way so I do not loose or miss characters?
0
Comment
Question by:bemara57
2 Comments
 
LVL 7

Accepted Solution

by:
vbwizardry earned 500 total points
ID: 24046129
If you know the source encoding then it is simply applying right encoding sequence to you data.
May be this will help :) http://blogs.msdn.com/cosmin/archive/2008/12/26/utf-8-strings-in-c.aspx
0
 
LVL 3

Expert Comment

by:coagantus
ID: 24046943
use

Encoding.Default
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Loop not working 29 47
Icons and Colors for Terms 3 24
ADO.NET ENTITY DATA MODEL 3 32
SQL Query Producing decimal places when it shouldn;t be 8 36
Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now