473,396 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Unicode to ASCII conversion

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

Nov 17 '05 #1
7 27148
Look at this thread from the VB group.

--
( Terry Burns )

http://TrainingOn.net


"Zach" <00@00.00> wrote in message
news:f3***************************@freeler.nl...
Can one convert Unicode to ASCII?
If so, could you please give an example?
Many thanks.

Nov 17 '05 #2
What is your message? That I should take a course at http://TrainingOn.net ?

"OHM ( Terry Burns )" <me@mine.com> wrote in message
news:ur**************@tk2msftngp13.phx.gbl...
Look at this thread from the VB group.

--
( Terry Burns )

http://TrainingOn.net


"Zach" <00@00.00> wrote in message
news:f3***************************@freeler.nl...
Can one convert Unicode to ASCII?
If so, could you please give an example?
Many thanks.


Nov 17 '05 #3
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/de...classtopic.asp

I hope this helps somehow.

Cor

Nov 17 '05 #4
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


"Zach" <00@00.00> wrote in message
news:8f***************************@freeler.nl...
What is your message? That I should take a course at http://TrainingOn.net
?

"OHM ( Terry Burns )" <me@mine.com> wrote in message
news:ur**************@tk2msftngp13.phx.gbl...
Look at this thread from the VB group.

--
( Terry Burns )

http://TrainingOn.net


"Zach" <00@00.00> wrote in message
news:f3***************************@freeler.nl...
> Can one convert Unicode to ASCII?
> If so, could you please give an example?
> Many thanks.
>
>
>



Nov 17 '05 #5
OHM ( Terry Burns ) <me@mine.com> wrote:
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.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 17 '05 #6
Sorry. You know I must have failed to paste in the link I was referring to
or it simply didnt get into the post. 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/247referenc...58/293655.aspx
--
Terry Burns

http://TrainingOn.net

"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in message
news:MP************************@msnews.microsoft.c om...
OHM ( Terry Burns ) <me@mine.com> wrote:
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.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Nov 17 '05 #7
OHM ( Terry Burns ) <me@mine.com> wrote:
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/247referenc...58/293655.aspx


Yup, should do.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 17 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Spamtrap | last post by:
I only work in Perl occasionaly, and have been searching for a solution for a conversion, and everything I found seems much too complex. All I need to do is take a simple text file and copy...
4
by: fowlertrainer | last post by:
Hi ! I want to get the WMI infos from Windows machines. I use Py from HU (iso-8859-2) charset. Then I wrote some utility for it, because I want to write it to an XML file. def...
11
by: Patrick Van Esch | last post by:
Hello, I have the following problem of principle: in writing HTML pages containing ancient greek, there are two possibilities: one is to write the unicode characters directly (encoded as two...
1
by: Daman | last post by:
Hi, I am currently facing difficulty displaying chinese, japanese, russian etc. characters. I am using VB 6 and ADO to query the DB2 Version 7.2 unicode database (UTF-8). The resultset that...
18
by: Ger | last post by:
I have not been able to find a simple, straight forward Unicode to ASCII string conversion function in VB.Net. Is that because such a function does not exists or do I overlook it? I found...
24
by: ChaosKCW | last post by:
Hi I am reading from an oracle database using cx_Oracle. I am writing to a SQLite database using apsw. The oracle database is returning utf-8 characters for euopean item names, ie special...
19
by: Thomas W | last post by:
I'm getting really annoyed with python in regards to unicode/ascii-encoding problems. The string below is the encoding of the norwegian word "fødselsdag". I stored the string as "fødselsdag"...
13
by: gabor | last post by:
hi, from the documentation (http://docs.python.org/lib/os-file-dir.html) for os.listdir: "On Windows NT/2k/XP and Unix, if path is a Unicode object, the result will be a list of Unicode...
1
by: NevilleDNZ | last post by:
Hi, Apologies first as I am not a unicode expert.... indeed I the details probably totally elude me. Not withstanding: how can I convert a binary string containing UTF-8 binary into a python...
0
by: M.-A. Lemburg | last post by:
On 2008-07-01 20:31, Peter Bulychev wrote: You could write a codec which translates Unicode into a ASCII lookalike characters, but AFAIK there is no standard for doing this. I guess the best...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.