By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,918 Members | 2,246 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,918 IT Pros & Developers. It's quick & easy.

display non-ascii characters in DOS window

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
"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

P: n/a
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

P: n/a
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

P: n/a
"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 discussion thread is closed

Replies have been disabled for this discussion.