Home
Analytics
How do I print a check mark
HSMorales
How can I print a check mark using BIRT 3.7.0 ??
Find more posts tagged with
Comments
Clement Wong
Not sure where you need it? In a label or text control?<br />
<br />
The attached design shows a checkmark in an HTML encoded symbol (<a class='bbc_url' href='
http://www.danshort.com/HTMLentities/index.php?w=dingb'>like
one of these</a>), or directly pasted into the label.<br />
<br />
<br />
Regards,<br />
Clement Wong<br />
Actuate Corporation ? The BIRT Company?
actuser9
Hi Clement,
How to get the copy right and the registered symbol from the .csv file into the BIRT report?
Thanks
UY
Clement Wong
UY,
I'm not sure what you're looking for exactly. If I'm assuming that you have a UTF-8 or Unicode endcoded CSV file with text and the text has extended characters such as ? ? ?, then you just need to specify the charset as UTF-8 (by default) in your Flat File Data Source. The resulting report output will display those characters. I just ran a quick test, and it's working for me in Actuate 11 SP4 Fix1 (BIRT 3.7.2) and in Open Source BIRT 4.2.1. The report was able to read the CSV with those characters and display them.
Do you have a CSV file with those characters that don't show up in a report? Can you attach the sample?
actuser9
Hi Clement,
I am using Actuate 11 SP4 Fix1 (BIRT 3.7.2). I am not able to attach the CSV file. But I have this text in the csv file.
Data Sort Disclaimer_Text
1 Test123 ? to be performed
2 Test456? Done
The output in the data set result when the charset as UTF-8 (by default) in Flat File Data Source is as below.
Clement Wong
The sample attached was created on Actuate 11 SP4 Fix1 (BIRT 3.7.2) on a Windows 7 Enterprise 64-bit US/English system.
Can you please unzip, update the Data Source location to your computer, and run it?
Since you were not able to attach the CSV file, I wasn't quite sure if it was truly comma separated (as I did in my example) or if there was a tab between the two files? Either way, I tried both and was able to preview and run/view as expected.
If my sample doesn't work, then there is some environmental (OS) difference we'll need to dig into. If my sample works, and yours does not, then please ZIP up your CSV and .rptdesign so that I can troubleshoot further. If attachment doesn't work, you may email me.
actuser9
Hi Clement,
I tried to unzip the file and changed the data source location and the symbols are appearing on the report as expected. But when I tried to add another symbol or save the .csv again, the symbols are gone. Not sure what is worng. I have attached the csv file I have been using at my end.
Clement Wong
I am able to create a new report against your CSV, and I see the symbols correctly.
So how are you editing your CSV file? With what program? Save as options, if any?
As a test, in your report design, can you try changing your charset in your Data Source to "windows-1252" and see if you can preview and/or run/view the report?
actuser9
Hi Clement,<br />
<br />
Please see my response below.<br />
<br />
<blockquote class='ipsBlockquote' ><p>
So how are you editing your CSV file? With what program? Save as options, if any?<br /></p></blockquote>
The .csv file is being opened in the Microsoft Excel 2007 and after inserting the symbol, is getting saved in "CSV(Comma delimited)(*.csv)" format <br />
<br />
<blockquote class='ipsBlockquote' ><p>
As a test, in your report design, can you try changing your charset in your Data Source to "windows-1252" and see if you can preview and/or run/view the report?<br /></p></blockquote>
Changing the charset in the Data Source to "windows-1252" is getting the special symbols in the report. How is this possible?<br />
<br />
Thanks,<br />
UY
Clement Wong
<blockquote class='ipsBlockquote' data-author="'actuser9'" data-cid="114724" data-time="1362154956" data-date="01 March 2013 - 09:22 AM"><p>
Changing the charset in the Data Source to "windows-1252" is getting the special symbols in the report. How is this possible?<br /></p></blockquote>
It works because it all depends on how your Excel has been configured to save the CSV with a given encoding (UTF-8, ISO-8859-1, Windows 1252, etc...). I just had you test with one of the more popular ones.<br />
<br />
BTW, there are various Excel threads regarding this issue...<br />
<br />
Examples:<br />
<a class='bbc_url' href='
http://www.excelforum.com/excel-general/400043-csv-and-unicode-or-utf-8-problem.html'>http://www.excelforum.com/excel-general/400043-csv-and-unicode-or-utf-8-problem.html</a><br
/>
<a class='bbc_url' href='
http://jaimonmathew.wordpress.com/2011/08/23/excel_addin_to_work_with_unicode_csv/'>http://jaimonmathew.wordpress.com/2011/08/23/excel_addin_to_work_with_unicode_csv/</a>
;
actuser9
Thank you Clement. The excel threads you posted are really helpful.
Regards,
UY