473,386 Members | 1,924 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,386 software developers and data experts.

display non-ascii characters in DOS window

SB
Hi, I'd like to display some non-ascii characters in a DOS window. I'm
getting the characters from Windows Character Map, such as the Spade
(U+2660) and a few others. However, I can't get it to work. I know the
characters I'm trying to display are Unicode and that is presenting the
problem. Does anyone know how to do this if even possible?

Thanks!
Jul 22 '05 #1
4 3068
"SB" <vo******@hotmail.com> wrote...
Hi, I'd like to display some non-ascii characters in a DOS window. I'm
getting the characters from Windows Character Map, such as the Spade
(U+2660) and a few others. However, I can't get it to work. I know the
characters I'm trying to display are Unicode and that is presenting the
problem. Does anyone know how to do this if even possible?


<offtopic>
DOS and Windows are two different platforms and, alas, they don't
share the extended ASCII character sets. You need to look them up
from the DOS documentation.
</offtopic>

Your question is better asked in a Windows programming newsgroup
(not that there are no people who know answer here). I recommend
comp.os.ms-windows.programmer.*
Jul 22 '05 #2
SB
I disagree. This is not a Windows programming question. I'm attempting to
display these characters in a DOS window. The only thing that Windows has to
do with the problem at all is that I'm copying the Unicode character out of
the character map app from the Windows OS. I'm asking how to display that
character in DOS/console window using c++.

"Victor Bazarov" <v.********@comAcast.net> wrote in message
news:lh5yb.249782$mZ5.1859767@attbi_s54...
"SB" <vo******@hotmail.com> wrote...
Hi, I'd like to display some non-ascii characters in a DOS window. I'm
getting the characters from Windows Character Map, such as the Spade
(U+2660) and a few others. However, I can't get it to work. I know the
characters I'm trying to display are Unicode and that is presenting the
problem. Does anyone know how to do this if even possible?


<offtopic>
DOS and Windows are two different platforms and, alas, they don't
share the extended ASCII character sets. You need to look them up
from the DOS documentation.
</offtopic>

Your question is better asked in a Windows programming newsgroup
(not that there are no people who know answer here). I recommend
comp.os.ms-windows.programmer.*

Jul 22 '05 #3
SB wrote:
I disagree. This is not a Windows programming question. I'm attempting to
display these characters in a DOS window. The only thing that Windows
has to do with the problem at all is that I'm copying the Unicode
character out of the character map app from the Windows OS. I'm asking
how to display that character in DOS/console window using c++.


Your opinion does not change the fact that both the C and the C++ language
render most of the character set issues as well as international issues
implementation defined, therefore making them off-topic here. Post to a
Windows programming newsgroup.

--
WW aka Attila
:::
Technical support is how much a minute? Only one other industry charges
$3.99 a minute to talk to you, and at least you get some degree of
pleasure out of that!
Jul 22 '05 #4
"SB" <vo******@hotmail.com> wrote in message
news:KI7yb.20001$Ac3.15344@lakeread01...
I disagree.
That is your prerogative.
This is not a Windows programming question.
You may not realize it, but yes it is.
I'm attempting to
display these characters in a DOS window.
DOS does not have 'windows'. The Microsoft Windows(tm) operating
system does. One 'window' it has is a 'simulation' of a DOS
'console' display.
The only thing that Windows has to
do with the problem at all is that I'm copying the Unicode character out of the character map app from the Windows OS. I'm asking how to display that
character in DOS/console window using c++.


The means to do this is specific to your enviroment (if it
supports it at all) -- in this case Microsoft Windows (which
does have such support). The C++ language has absolutely no
support for what you're asking. The Windows operating system
does. www.msdn.microsoft.com has all the answers you need. The
C++ language has none.

BTW please don't top post.

-Mike
Jul 22 '05 #5

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

Similar topics

2
by: Stewart | last post by:
Hi Experts. Please put the code sample below into an html document and take a look at in NN6+. One span should be shown while the other is hidden. Clicking the button should reverse this. ...
4
by: bissatch | last post by:
I am trying to use DIV tags and a class to hide the DIV and the HTML within. I will use JavScript to change it from hidden to visible but that will come later. Below is the code I am using ...
4
by: Kevin Myers | last post by:
Hello, Please forgive my reposting of this note with hopefully a more relevant subject line. On an Access 2000 form under Windows 2000 I would like to use a Kodak Image Edit Control to...
15
by: yxq | last post by:
Hi I want to detect user display type, LCD or CRT, how to do? Thanks
0
by: Ennio-Sr | last post by:
Hi all! After a very long struggle I finally succeded in transferring my old *.dbf file and the relating *.dbt (alias memo fields) to a pg table. For the time being I put the memo field in a...
1
by: DavidADEW | last post by:
I am writing an application that displays furniture in a 3D model - in a wire frame. The furniture has straight and rounded edges (doesn't need any shading) - a kind of CAD application but for non...
3
by: c676228 | last post by:
Hi everyone, I have a piece of code in sales.aspx.vb like this: Protected WithEvents Message As System.Web.UI.WebControls.Label Try ... ChartImage.ImageUrl = "ChartGenerator.aspx?" + DataStr +...
1
by: Brian D | last post by:
Take a look at this page. http://tempsite.texwipe.com/test/ The code is too long to post here so just look at the source. It works flawlessly in IE, but in Firefox not so much. Here is the...
2
by: assgar | last post by:
Hi Developemnt on win2003 server. Final server will be linux Apache,Mysql and PHP is being used. I use 2 scripts(form and process). The form displays multiple dynamic rows with chechboxs,...
1
by: Wingot | last post by:
Hey, I have an application codenamed WingFlex. It has a number of aspects to it, but the prudent parts for this problem are all within the "Client" Schema. The Client schema has three tables...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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,...

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.