How can I display Arabic data in Crystal Reports? - crystal-reports

I am using Crystal Reports 10. The reports are obtaining data from an Oracle 10G database. We have some data in Arabic. When I try to display the Arabic data it is showing as ?.
Any ideas on what I can do to display this correctly?

I've never used crystal reports and my oracle knowledge is limited, however I've done some work in Arabic. Things to look out for.
Does the Database have the arabic locale installed can it display right to left text.
Under windows check the languages settings and check that the option to include support for left to right writing systems is installed.
Check that your database is the international version and not one that only supports the latin character set. It may be that there is a problem converting between ASCII and Unicode.
Arabic Characters are not on the same ASCII code page as the Latin Character set your machine will be used to using, there might be a special version of crystal reports that supports arabic.
Check that the machine you are running crystal reports on has the arabic locale/fonts installed on it.
UPDATE
I've Had a quick look on the internet and you might want to look at this link
Here is a summary:
This issue can be solved when you
create the reports without needing to
write any extra code. I haven't tested
this solution because I don't have any
data to test it against.
First you want to make sure that you
are using a UNICODE font which I'm
sure you are probably already doing.
Then to configure the "Right to Left"
you can right click on any field and
select "Format Text" or "Format
Field". You should see a "Paragraph"
tab. In there you can set the content
to be "Left to Right" or "Right to
Left". The button on the right allows
you to make this setting conditional
on a parameter value or something like
that. I hope this helps.

Right Click on field > Format Object > Paragraph then Reading Order Right to left

Make sure you have Arabic support installed in Windows.
Add the correct LANG and NLS_LANG to your registry (for me it's ARABIC__QATAR.AR8MSWIN1256)

right click on your data base and select properties
then select options then change collation to Arabic_CI_AS

Related

Eclipse - makros/key replacement?

In my previous IDE which I used for my website's files there was a very useful option to configure key replacements. Particularly I would like to make sure that extended characters which are to be printed on the web page are added in their respective HTML-code and not as UTF-8 characters or so, because only then I'm on the safe side that the display is proper. So, that old IDE used to put ä into the text where I entered "ä", and so on.
Is there a way to do this in Eclipse as well? I found that many things are configurable, but I didn't find anything like this key replacement. It's kind of a makro thing, but not really, and is only needed within the editor.
Thanks for any suggestions/help.
The AnyEdit Tools plug-in can be used to convert special characters and umlauts into HTML entities:
Select the text to convert and hit Ctrl+Alt+E (or right-click and choose Convert > Chars to Html Entities)

Excel rendered from SSRS loses currency symbold when viewed on iPhone in UK

Our reports format the currency dynamically. So in the result-set there is a column called CurrencyFormatString. This is applied to the appropriate fields via FORMAT(FieldName,CurrencyFormatString)
Everything seems to work fine until the report is rendered to Excel and the file is viewed on an iPhone. For our UK Customers they see $ instead £ for the currency symbol. Of course, it works just fine on an Andriod device.
If I take the correct formatting mask, and manually put it into an Excel cell. Save it and send to myself it works fine. There seems to be something going on with the Currency setting on the cell overriding the format.
This comes out in the Column CurrencyFormatString: £#,##0.00;(£#,##0.00)
Export to Excel, open and R-Click Properties you see: [$-10409]£#,##0.00;-£#,##0.00
when SSRS renders the Excel. I don't know what that first part in brackets is, Im guessing it has something to do with the Currency setting which is set to $.
Any ideas on getting the proper format to propagate to the iPhone? This is using SSRS 2008. I havent tried on newer versions of SSRS.
You can trick Excel by exporting an excel formula.
In the SSRS report, if you use something like this sort of formula:
"=TEXT(" + FieldName + ",""£#,##;-£#,##"")"
On the report it will look like this if you view it in html renderer:
=TEXT(55.00,"£#,##;-£#,##")
When exported to excel, the excel formula parser will kick in and you will get
£55.00
Ugly workaround I know. -1 to iPhone's Excel app.
The answer to this question appears to be, you can't.
It also appears that the SSRS included with SQL Server 2012 now defaults to rendering in .xslx which the native iPhone Email app can't open anyways.
If you, your company or customers use Android, you should be fine.

How can I print UPC-A objects for labels?

I have a Crystal Reports project that I am working on where I need to generate a label with UPC-A's. After doing a bit of research, I've found that Azalea Software offers a tool that is suppose to integrate barcode objects into your application.
I purchased the software from Azalea, followed all of their instructions and I can not get their software to work with my report. I don't want to speak ill of Azalea, because their support has been great, but is anyone aware of a legitimate alternative for UPC-A barcode creatioon from within Crystal Reports 2008?
I don't mind purchasing another 3rd party API, I just need to be able to generate dynamic UPC-A images from the UPC-A numbers that I need to encode stored within my database.
Further information-- this is a label document that is printed from a ClickOnce published application that uses the Crystal Reports for Visual Studio 2010 runtime, and the Crystal Reports Document Viewer control to view and print these labels.
We use IDAutomation for our barcoding. Very easy to use when installed, you use it like a font on calculated barcode fields. We use it mainly for Code-39 and Code-128 barcodes; though looking at the site it can make UPC/EAN codes too. It also has a selection of sizes for each barcode, alongside the normal font resizing.
On our version you have to install the fonts on every client computer running the report locally; but only once on telnet servers etc.

Display data in RTF in Crystal Reports

I have data in my database that is in Rich Text Format. Is there a way to display this type of data in a Crystal Report so that its formatted properly?
BTW, I'm using Crystal Reports 11.5 Release 2
Right click on the field, then select Format Field -> Paragraph tab -> Text Interpretation -> RTF text.
Be aware that RTF doesn't always display like you expect it to. It's a little like how different browsers display the same html/css in various different ways and all have a little quirky behavior... except in my experience... RTF is way more quirky and frustrating.
Good luck.

How to show special characters on Apple App Store product description?

I see with some apps like Toodledo they use checkmarks for their revision history. How can you show/use special characters in an App Store product description? Does it allow HTML or do you just have to use ascii character codes?
Any tips/tricks for better presentation of our app's product information?
Thank you.
I think Apple just made the rule stricter on the App Store. I have been using special characters in my metadatas for a very long time but got a bad surprise today when trying to submit a new version:
Got this error message on iTunes Connect:
What's New In This Version must not contain the following characters: ★, ❤
Simply enter the characters using the character table in OS X.
To show it, go to OS X System Preferences -> International and select "Show Input Sources in Menu Bar". You should get a flag symbol next to the clock in the menu bar. Clicking on it results in a menu where you can open the character table, in which you can select and paste pretty much any character.
I am the author of the Toodledo app. Here is how I did it. I found the character I wanted on the internet by searching for "unicode symbols". I found it on wikipedia
I then copy and pasted the checkmark ✓ into my app description. And every time I need to make a new checkmark, I go and copy and paste it again since I don't know how to type it. There are lots of interesting symbols to choose from. I also use a star★
UnicodeChecker is an excellent Mac app that contains a database of over 100,000 characters defined in Unicode. You can search for characters by their assigned English names. For example, search for "check" to find several kinds of checkmark characters. Once found, you can copy a character and paste into your description.
UnicodeChecker is free of cost.