473,395 Members | 2,006 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,395 software developers and data experts.

encoding multiple character sets

Hi

I am doing a project where I have to use multiple character sets for the
input. They would be English, Symbol and possible Greek, These will be used
as symbols for processing an algebraic expression. I need to input them
and then display them on a windows screen. There is a total of 10 symbols
not in the ASCII character set.
This is a new area for me and would appreciate some pointers on how to
approach the problem. I am not sure if I should be looking at Unicode or
something else.

I would appreciate any suggestions of coding examples some one could
suggest. I am using c# and net 1.0.

Thanks in advance for your help.
Brian O'Haire
Nov 15 '05 #1
4 1914
In theory, for a WinForms app you probably don't even need to worry about
it. The String class is Unicode-based, so you should able able to manipulate
any character without any special code.

The trick is choosing a font that contains representations of all the
characters you'll be using. Arial contains the Latin alphabet, the Greek
alphabet, and many mathematical operators, but not as many as the Symbol
font. If you need to use a mix of fonts to display all the characters you
need, then it could get more complicated since the built-in controls mostly
only let you specify a single font for display.
"Brian O'Haire" <ge************@cdpswat.com> wrote in message
news:OO**************@TK2MSFTNGP11.phx.gbl...
Hi

I am doing a project where I have to use multiple character sets for the
input. They would be English, Symbol and possible Greek, These will be used as symbols for processing an algebraic expression. I need to input them
and then display them on a windows screen. There is a total of 10 symbols
not in the ASCII character set.
This is a new area for me and would appreciate some pointers on how to
approach the problem. I am not sure if I should be looking at Unicode or
something else.

I would appreciate any suggestions of coding examples some one could
suggest. I am using c# and net 1.0.

Thanks in advance for your help.
Brian O'Haire

Nov 15 '05 #2
In theory, for a WinForms app you probably don't even need to worry about
it. The String class is Unicode-based, so you should able able to manipulate
any character without any special code.

The trick is choosing a font that contains representations of all the
characters you'll be using. Arial contains the Latin alphabet, the Greek
alphabet, and many mathematical operators, but not as many as the Symbol
font. If you need to use a mix of fonts to display all the characters you
need, then it could get more complicated since the built-in controls mostly
only let you specify a single font for display.
"Brian O'Haire" <ge************@cdpswat.com> wrote in message
news:OO**************@TK2MSFTNGP11.phx.gbl...
Hi

I am doing a project where I have to use multiple character sets for the
input. They would be English, Symbol and possible Greek, These will be used as symbols for processing an algebraic expression. I need to input them
and then display them on a windows screen. There is a total of 10 symbols
not in the ASCII character set.
This is a new area for me and would appreciate some pointers on how to
approach the problem. I am not sure if I should be looking at Unicode or
something else.

I would appreciate any suggestions of coding examples some one could
suggest. I am using c# and net 1.0.

Thanks in advance for your help.
Brian O'Haire

Nov 15 '05 #3

"Bret Mulvey [MS]" <br***@online.microsoft.com> wrote in message
news:ZrCfb.684167$uu5.112128@sccrnsc04...
In theory, for a WinForms app you probably don't even need to worry about
it. The String class is Unicode-based, so you should able able to manipulate any character without any special code.

The trick is choosing a font that contains representations of all the
characters you'll be using. Arial contains the Latin alphabet, the Greek
alphabet, and many mathematical operators, but not as many as the Symbol
font. If you need to use a mix of fonts to display all the characters you
need, then it could get more complicated since the built-in controls mostly only let you specify a single font for display.

A unicode font, something like Arial Unicode MS or other full unicode fonts
should have most of what you want. The main problem I'd see is simplicity of
input, I assume you are expecting the user to type in the commands. Do you
have a method of inserting those characters figured out? alt+number
combinations are not fun and several of those characters are not on a
standard english keyboard.

"Brian O'Haire" <ge************@cdpswat.com> wrote in message
news:OO**************@TK2MSFTNGP11.phx.gbl...
Hi

I am doing a project where I have to use multiple character sets for the
input. They would be English, Symbol and possible Greek, These will be

used
as symbols for processing an algebraic expression. I need to input them and then display them on a windows screen. There is a total of 10 symbols not in the ASCII character set.
This is a new area for me and would appreciate some pointers on how to
approach the problem. I am not sure if I should be looking at Unicode or something else.

I would appreciate any suggestions of coding examples some one could
suggest. I am using c# and net 1.0.

Thanks in advance for your help.
Brian O'Haire


Nov 15 '05 #4

"Bret Mulvey [MS]" <br***@online.microsoft.com> wrote in message
news:ZrCfb.684167$uu5.112128@sccrnsc04...
In theory, for a WinForms app you probably don't even need to worry about
it. The String class is Unicode-based, so you should able able to manipulate any character without any special code.

The trick is choosing a font that contains representations of all the
characters you'll be using. Arial contains the Latin alphabet, the Greek
alphabet, and many mathematical operators, but not as many as the Symbol
font. If you need to use a mix of fonts to display all the characters you
need, then it could get more complicated since the built-in controls mostly only let you specify a single font for display.

A unicode font, something like Arial Unicode MS or other full unicode fonts
should have most of what you want. The main problem I'd see is simplicity of
input, I assume you are expecting the user to type in the commands. Do you
have a method of inserting those characters figured out? alt+number
combinations are not fun and several of those characters are not on a
standard english keyboard.

"Brian O'Haire" <ge************@cdpswat.com> wrote in message
news:OO**************@TK2MSFTNGP11.phx.gbl...
Hi

I am doing a project where I have to use multiple character sets for the
input. They would be English, Symbol and possible Greek, These will be

used
as symbols for processing an algebraic expression. I need to input them and then display them on a windows screen. There is a total of 10 symbols not in the ASCII character set.
This is a new area for me and would appreciate some pointers on how to
approach the problem. I am not sure if I should be looking at Unicode or something else.

I would appreciate any suggestions of coding examples some one could
suggest. I am using c# and net 1.0.

Thanks in advance for your help.
Brian O'Haire


Nov 15 '05 #5

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

Similar topics

48
by: Zenobia | last post by:
Recently I was editing a document in GoLive 6. I like GoLive because it has some nice features such as: * rewrite source code * check syntax * global search & replace (through several files at...
10
by: Christopher H. Laco | last post by:
Long story longer. I need to get web user input into a backend system that a) only grocks single byte encoding, b) expectes the data transer to be 1 bytes = 1 character, and c) uses the HP Roman-6...
7
by: Mark | last post by:
Hi... I've been doing a lot of work both creating and consuming web services, and I notice there seems to be a discontinuity between a number of the different cogs in the wheel centering around...
38
by: lawrence | last post by:
I'm just now trying to give my site a character encoding of UTF-8. The site has been built in a hodge-podge way over the last 6 years. The validator tells me I've lots of characters that don't...
37
by: chandy | last post by:
Hi, I have an Html document that declares that it uses the utf-8 character set. As this document is editable via a web interface I need to make sure than high-ascii characters that may be...
0
by: Brian O'Haire | last post by:
Hi I am doing a project where I have to use multiple character sets for the input. They would be English, Symbol and possible Greek, These will be used as symbols for processing an algebraic...
37
by: Zhiv Kurilka | last post by:
Hi, I have a text file with following content: "((^)|(.* +))§§§§§§§§" if I read it with: k=System.IO.StreamReader( "file.txt",System.Text.Encoding.ASCII); k.readtotheend()
10
by: hsmit.home | last post by:
Hi everyone, I'm having some difficulty with the following piece of code. I have stripped it to it's bare minimum to demonstrate the problem at hand. Compiler: MS Visual C++ 2005 Express...
1
by: Alexander Adam | last post by:
Hi, I am a bit list in encoding related stuff. Let me explain what I am doing (yes it's C++ :)): I am getting some input content due Expat Xml Parser. I've setup Expat to use wchar_t. First...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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...

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.