When viewing Arabic text in a PDF generated from crystal reports, sometimes all the spaces in the text get replaced by a diacritic ( ً, َ, ُ, ...).
This is caused by using diacritics after the last letter of the word in the text itself. crystal report replaces all spaces in that font type with the first diacritic in that text. i.e. if a paragraph has a font type of tahoma and contains the diacritic ( ً ), then all the spaces in the paragraph will be replaced by that diacritic.
The only solution is to not use diacritics at all until this is bug is fixed.
JS
Tuesday, July 19, 2011
A Crystal Report Bug For Arabic Text
Friday, July 8, 2011
Creating WCF Data Services and using the OData Protocol
In this post you will learn how to expose your database for external queries, and then using the OData ,Open Data, Protocol. In this exercise you will need to use VS2010 (Visual Studio 2010), and make sure you have .NET Framework 4.0 is installed.
First, you'll need to define the data model and create the data service, WCF Data Services support data models created by VS2010 that are based on the ADO.NET Entity Framework. To do that follow the steps in this article: How to: Create a Data Service Using an ADO.NET Entity Framework Data Source (WCF Data Services).
After creating the data service, you must confirm access to it, for testing purposes you can allow everyone to access it by adding this line of code in the InitializeService method of the service:
For more information about configuring access to the data service see Configuring the Data Service (WCF Data Services).
Assuming that you named your data service "northwind.svc" and configured the VS web development server to use port 12345, open your internet browser and enter this url in the address bar:
This will return the default service document which lists all the entity sets that the data service exposes. For more information see Accessing the Service from a Web Browser (WCF Data Services Quickstart).
To learn more about OData go to this site: http://www.odata.org/developers
First, you'll need to define the data model and create the data service, WCF Data Services support data models created by VS2010 that are based on the ADO.NET Entity Framework. To do that follow the steps in this article: How to: Create a Data Service Using an ADO.NET Entity Framework Data Source (WCF Data Services).
After creating the data service, you must confirm access to it, for testing purposes you can allow everyone to access it by adding this line of code in the InitializeService method of the service:
For more information about configuring access to the data service see Configuring the Data Service (WCF Data Services).
Assuming that you named your data service "northwind.svc" and configured the VS web development server to use port 12345, open your internet browser and enter this url in the address bar:
This will return the default service document which lists all the entity sets that the data service exposes. For more information see Accessing the Service from a Web Browser (WCF Data Services Quickstart).
To learn more about OData go to this site: http://www.odata.org/developers
Subscribe to:
Posts (Atom)