User (Legacy) Posted April 10, 2003 Report Share Posted April 10, 2003 Hey folks, We are a data-driven, 100% pure Java application that interfaces to ChartFX via HTTP and an ASP. When people select data from datasources in our product, they specify (using Java Locale's) the locale of the currency for currency columns. If they choose German Euro, the java locale becomes de-ch_EURO (or similar). If they choose German Marks, that is simply de-ch. Well, for Winblows (and ChartFX), there is the concept of LCID's. Unfortunately, Winblows doesn't seem to have/publish LCID's for non-euro currency in euro countries. For example, just because there is the Euro, doesn't mean that the Deutsch Mark has vanished from the planet. We have customers with DM accounts. So, how would someone with ChartFX Internet edition go from a Java Locale to a Winblows LCID for DM? I have a simple(ish) convert function from the MS site that will try to interpret the locale from the HTTP header (HTTP_ACCEPT_LANGUAGE) to come up with an LCID. With this, I can go from "en-us" to 1033. But, how do I specify in ChartFX that a value is DM, and not euro's with the LCID? I have also seen the CurrencySymbol in ChartFX. But, you can't use that alone, and have it figure out where the currency symbol goes. That is, just setting the CurrencySymbol to "DM" will fail because you end up with DM5000.20 instead of 5000.20 DM So, what am I supposed to do? I don't want to have to "know" that "de-ch" has a symbol of DM that appears at the end of the number. I just want to tell ChartFX to use LCID 1234 for "de-ch" and LCID 5678 for "de-ch_EURO". Can anyone help? Thanks, Marc Batchelor Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.