473,323 Members | 1,550 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,323 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 1909
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.