Solved

How to convert encoding characters?

Posted on 2009-04-01
2
242 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Bit flags and bit flag manipulation is perhaps one of the most underrated strategies in programming, likely because most programmers developing in high-level languages rely too much on the high-level features, and forget about the low-level ones. Th…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

758 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

20 Experts available now in Live!

Get 1:1 Help Now