Increase Character set?

G

George Hester

I can make the @ sign appear in the command console by sending in a console program I have the unicode value for it '\u0040' But if I send the unicode value for the (UK money) Pound sign (notice I can't put it in here) '\u20A4' I get a ? in the command console. On a US English machine what can I do to increase the charset in Windows 2000 SP3 so that the Pound sign appears in the command console? Thanks.
 
M

Matthias Tacke

George Hester said:
I can make the @ sign appear in the command console by sending in a
console program I have the unicode value for it '\u0040' But if I
send the unicode value for the (UK money) Pound sign (notice I can't
put it in here) '\u20A4' I get a ? in the command console. On a US
English machine what can I do to increase the charset in Windows 2000
SP3 so that the Pound sign appears in the command console? Thanks.

I think you should read some more on codes, characters, fonts,
code pages and the like.

On my system I have code page 850 active and alt+(0163) returns "£"
The unicode for Pound sterling is 00A3 which in decimal is 0163.

See:
chcp /?
http://www.unicode.org/faq/

HTH
 
G

George Hester

£

Hmmm charmap says, \u20A4 using the Arial font called the Lira sign

Oh well I can try to mimc what you have. Thanks.
 
G

George Hester

Try the one I asked about \u20A4 How can I increase the character set used in the command console to show this characer? It is called the Lira sign. Have a little heart for an internationally challenged person.
 
G

Gary Smith

George Hester said:
Try the one I asked about \u20A4 How can I increase the character set
used in the command console to show this characer? It is called the Lira
sign. Have a little heart for an internationally challenged person.

Here are some things you can experiment with. You may want to set up a
special shortcut to cmd.exe so the the property changes you make can be
saved but will apply only to windows opened through that shortcut.

Change the font to Lucida Console. The other available fonts don't have
enough range to display the additional characters.

Execute the command "CHCP 10000" to establish Unicode as the currend code
page.

You can create Unicode text files with Wordpad, using the appropriate Save
As option. Within Worpad, you can enter Unicode characters by typing the
4-digit hexadecimal value of the character immediately followed by Alt-X.
Thus 20a4<alt-x> will produce the Lira sign.

I haven't experimented to determine how extensive this method of support
is, but it's heading in the right direction.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top