• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

currency symbols do not come up properly in the reports

 
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sometimes, values with currency symbols like Francs and Liras and Rupees are not coming up at all or are being printed out as a ?.
Is there any font usage suggestion for using them consistently with jasperReports?
 
Author
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
iReport is normally helpful to handle these small things. Did you use the Pattern editor dialog of iReport? The dialog plays with the pattern property of JasperReports and allows you to use different types of patterns for Date, Time, Currency, Number etc. You can use currency symbols directly in the pattern property, see the following JRXML code example.


You can see the pattern property of the text field, which uses the dollar($) symbol.

My JasperReports book demonstrates many of these small but useful things like the pattern editor of iReport. The book also gives you a variety of ways in which you can use these features.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!