Unicode to ASCII conversion

  • Thread starter Thread starter Zach
  • Start date Start date
Z

Zach

Can one convert Unicode to ASCII?
If so, could you please give an example?
Many thanks.
 
Zach,

Probably Terry forgot the link.

However you cannot convert Unicode to ASCII. Simple enough by the fact that
ASCII is 7 bits while unicode 16bits, I assume that you understand that it
is impossible to translate that.

You can convert the first 7 bits. However, most people are mixing up ASCII
with PC-Dos code formats as 437 and 850 which are 8 bits and where the first
127 bit formats are equal to ASCII.

For that (and other encodings) are the text.Encoding classes.
http://msdn.microsoft.com/library/d...ef/html/frlrfsystemtextencodingclasstopic.asp

I hope this helps somehow.

Cor
 
This is where I work, so you can contact me using the customer service link.
However, if you dont want to use the information in my posts, then feel free
to ignore them.

--
Terry Burns

http://TrainingOn.net
 
OHM ( Terry Burns ) said:
This is where I work, so you can contact me using the customer service link.
However, if you dont want to use the information in my posts, then feel free
to ignore them.

I think Zach's point was that you suggested he looked at "this thread"
but didn't say *which* thread to look at - it wasn't clear whether you
were actually just trying to fool people into looking at the company
web site.
 
OHM ( Terry Burns ) said:
Sorry. You know I must have failed to paste in the link I was referring to
or it simply didnt get into the post.

While I thought that was probably the case, I think Zach's reaction was
pretty reasonable.
anyway, here it is. In fact this link
is a discussion with some people from the VB group who I know, and I thought
it may help the OP to look through it.

http://www.dotnet247.com/247reference/msgs/58/293655.aspx

Yup, should do.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top