This week's book giveaway is in the Spring forum.
We're giving away four copies of Modern frontends with htmx and have Wim Deblauwe on-line!
See this thread for details.
Win a copy of Modern frontends with htmx this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Keyboard UK and autoexec

 
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Many thanks for your reply.

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