jay_2 Posted December 5, 2014 Share Posted December 5, 2014 Have a strange issue where the currency symbol displays properly ($) when logged in direct to JRS, but when running same report embedded in our application, I get a 'British pound' sign. Running a scheduled report also produces the desired $ sign.The format (¤ #,##0) in the report does have a space, but that has not been a problem since I set the locale as en_US.Jaspersoft Pro 5.6.1 on CentOS embedded in iFrame with SSO.How can it vary between the embedded view vs. non-embedded view?tia,Jay Link to comment Share on other sites More sharing options...
ernestoo Posted December 8, 2014 Share Posted December 8, 2014 Somewhere it's picking up the locale of the browser as en_UK, I absolutely hate the ¤ symbol in java because of these kinds of issues- if you mean to always set USD then replace ¤ with $ and that will solve it. Link to comment Share on other sites More sharing options...
jay_2 Posted December 8, 2014 Author Share Posted December 8, 2014 I'm sure you're right since I'm connecting from Canada and my system is set to UK English. This hasn't happened before and we just deployed a new production system. I had really wanted to avoid opening the reports up and changing that format in the many fields it appears. I know one fix is to remove the space between the ¤ symbol, but I want the space there and this is a better solution. Thank you for your suggestion, it's a good one. Still hoping for a server-side answer for the moment. Jay Link to comment Share on other sites More sharing options...
ernestoo Posted December 8, 2014 Share Posted December 8, 2014 Would appending &userLocale=en_US to the URL do the trick? Link to comment Share on other sites More sharing options...
jay_2 Posted December 9, 2014 Author Share Posted December 9, 2014 That is worth a try, thank you. I'm hopeful to find a setting in a config file. I'll post here when I choose a solution. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now