• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Keyboard UK and autoexec

 
Maureen Charlton
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am having the following problem:

I the following code:



This displays the following output to screen:

Account details for:
********************
BigDecimal Amount changed to a String for display: 600
Unformated BigDecimal rounded up to two decimal places: = 600.00
Price with Pound Sign: � 600,00
Using NumberFormat.getCurrencyInstance: � 600,00
Steven Peter Charlton : Account No: 8945 Balance: 600.00

You will notice the line:
Price with Pound Sign is not displaying �600.00 as expected
and the line:
Using NumberFormat.getCurrencyInstance �600.00 as expected

in both lines the full stop is a comma the where I should have a pound sign � I get �.

The operating system I am using is Windows 2000.

I remember something about this from previous experiences (before Windows) ........ you would need to put a line in your autoexec.bat but I can't remember what it was i.e. was it device=c:\dos\ansi.sys? and also would I need to put something in my CONFIG.sys?

Thanking you in advance!
 
Marilyn de Queiroz
Sheriff
Posts: 9063
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Windows 2000 does not use autoexec.bat and I think it does not use config.sys either although I may be wrong on the second part.
 
Maureen Charlton
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Many thanks for your reply.

So how or where does Windows 2000 get the keyboard settings from?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic