Character Encoding in Crystal Reports

Hi,
We are using HTML character encoding to prevent SQL injection, i.e. when a special character like apostrophe (') is entered, it is saved as '. I wanted to know if we could manipulate the data in between the two operations of fetching the data from the DB and displaying the data using Crystal?
We could use formulae/functions in the design/query, but I am looking for a more generic solution using Crystal API. I have attached a screenshot of how Mc'Donald is displayed in the Report.
Thanks for the help!
Noopur

All you need to do is format the field in CR to use HTML Text Interpretation. However note that CR does not support all HTML tags. For details see the following KBAs:
1217084 - What are the supported HTML tags and attributes for the HTML Text Interpretation in Crystal Reports?
1272676 - Not all the standard HTML tags are interpreted in Crystal Reports when using HTML Text Interpretation
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter

Similar Messages

  • CSV fomrat with  ANSI encoding file Crystal report

    Hi All
    We are using Business Object XI Release 2  web intelligence/Crystal report to configrure the report send to client
    if I configure Character-seperated values format for crystal report template it generate the CSV file in UTF-8 encoding
    how to generate character-seperated values format file for crystal report in ANSI encoding
    Thanks
    Rajesh Pandey

    Hi
    Bryan Thanks for your help. i am thinking to create an independent Java or C++ program to change the file from UTF-8 to ANSI char set
    and shchedule to run  to change csv file char set before mail it to client by BO
    In this design how we can get the event by BO that file has been created and yet to send by email or FTP
    I can see two type of event
    Event to Wait for
    Event to Trigger on complition
    if i create two event
    CSV_UTF8_CREATED - will be fire by BO once BO create file and yet to send email
    CSV_ANSI_CREATED - will be fire by program once it convert from UTF_8 to ANSI
    please guide if its possible to create such event and fire by BO on file creation and yet to send to destination
    Thanks
    Rajesh Pandey

  • CSV format with ANSI encoding file Crystal report

    Hi All
    We are using Business Object XI Release 2 web intelligence/Crystal report to configrure the report send to client
    if I configure Character-seperated values format for crystal report template it generate the CSV file in UTF-8 encoding
    how to generate character-seperated values format file for crystal report in ANSI encoding
    Thanks
    Rajesh Pandey

    Hi
    Bryan Thanks for your help. i am thinking to create an independent Java or C++ program to change the file from UTF-8 to ANSI char set
    and shchedule to run  to change csv file char set before mail it to client by BO
    In this design how we can get the event by BO that file has been created and yet to send by email or FTP
    I can see two type of event
    Event to Wait for
    Event to Trigger on complition
    if i create two event
    CSV_UTF8_CREATED - will be fire by BO once BO create file and yet to send email
    CSV_ANSI_CREATED - will be fire by program once it convert from UTF_8 to ANSI
    please guide if its possible to create such event and fire by BO on file creation and yet to send to destination
    Thanks
    Rajesh Pandey

  • Display 4000 character string in Crystal Report Viewer using crystal reports XI

    Hi,
    I am facing issue while displaying a field which is of 4000 character length with data type string. It is displaying first 100 characters correctly. After 100 chracters it is displaying junk characters. Please help me for solving this issue.
    Thanks,
    Nagamani

    Great, now we need confirmation on what version of CR and DB you are using?
    If you are using CR XI version 11.0 then download CR XI R2 -  version 11.5, free upgrade:
    http://downloads.businessobjects.com/akdlm/crystalreports/crxir2_sp4_full_bld_0-20008684.exe
    http://downloads.businessobjects.com/akdlm/crystalreports/CRYSTALREPORTS06_0-20008684.EXE
    Use your XI Keycode to install.
    Second question is what Database are you using and what client and how are you connecting, ODBC, OLE DB or Native?
    The issue sounds like the DB client is not ending data reading at the end of line ( OEF/EOL ) or the line is not marked with a null character or however it should be done.
    Nothing in configuration would fix this... Something either in the client you are using, CR simply displays the data it gets, if the Client does not stop the data being read CR is going to show you that data also.
    Could also be the Client is not capable of handling a 4K string so it's reading/filling in a buffer of random values and therefore shows garbage...
    I suggest you upgrade first and if it's still an issue then make sure CR supports the version of data source you are using and if it's still a problem try posting to the DB Makers Forum and ask them to look into the issue.
    Don

  • Last Character In Crystal Report cut off when ran via BO web interface

    I created a report in Crystal and uploaded it to the Business Objects Web Interface.
    On my detail row, the last character is getting cut off regardless of the length of the text.  Even short words like "Yes" are losing the last character, and appearing as "Ye", and there is plenty of room available between the right margin.
    The column header extends out further with no issues.
    Does anyone have a solution for this?

    Hi Dean,
    Try with this:
    Go to the following registry sub key:
    HKEY_USERS\[your security profile]\Software\Crystal Decisions\10.2\Crystal Reports\Export\Pdf
    Right-click the sub key and click New > DWORD Value. Name the DWORD value "ForceLargerFonts" and set it to the value of 1.
    Regards,
    Shweta

  • Crystal Report Oracle ODBC driver invalid Thai character display problem

    Hi,
       My server has CR Oracle ODBC 5.1 installed on last week. We have several reports in the servers which called by our Application to export to text file and pdf file. Sometimes, the output (both text file and pdf file) can't display Thai character correctly. The text file show Thai character in question mark and pdf file show in square box. This problem occur randomly and disappear without doing anything. Sometimes the problem occur for an hour and gone but sometimes occur 10-15 minutes and gone. This problem also not happen every days. Once the problem occur, all reports with Thai character will fail.
       However, we have another server installed the same Application, same OS level, same OS patches and same CR Oracle ODBC driver version installed on the same time as above server (the problem server). This server does not have any problems.
       Any suggestions would be appreciated.
    Best Regards,
    Noppadon S.

    Hi Noppadon,
    Thank you for the info. If it happens randomly in their application then it's something they need to debug. Could even be in the ODBC driver.
    I suggest you tell them that because it works sometimes it shows the issue is likely in their software because if it failed all the time then it would be in Crystal dll's. They need to debug the problem, suggest they use tools like Process Monitor from www.sysinternals.com to step through to see where or what part is failing. If they having logging abilities that may help to find out what step is failing and in which API.
    At this point we have no way of determining where the problem is, it's failing in their application and no one but them know what or how they are using CR runtime files.
    If you can duplicate the problem using Crystal Report Designer then it's our problem, if not they have to help you to show us it is a CR issue.
    Sorry we can't be of more help but without know their code we can't suggest anything to try. Suggest they log a call with support here to help them debug the problem if they don't know what to do.
    Thank you
    Don

  • Maximum Character in Crystal Report

    I am having a Text object control in crystal report in which i am facing issue in that character is limited to 250000 (appro). how to overcome the character limitation?
    Properties already assigned:
    Can Grow: limit is set to 0 (unlimited).
    Thanks in advance

    Is this field mapped to Memo Field on DB side, anddo you mean 255 characters?
    Check Kbase 1422831 and 1256215

  • Crystal reports 2008 and outlook. corrupted encoding

    Hello everyone!
    I have a problem: when i'm creating connection from crystal reports 2008 (v1, hf16) to outlook with data source outlook or outlook/exchange, crystal report show in subjects texts with corrupted encoding.
    I have outlook 2008 and windows vista localized in russian language.
    For example, when i'm creating connection through data source based on the ВО universe - texts shows correctly.
    Have any ideas how to fix problem with outlook corrupted encoding?
    10x and sorry for my english.

    Hi,
    I would suggest to issue a message to SAP ( [http://service.sap.com/support] ) about this.
    Regards,
    Stratos

  • Danish character and Symbol are not displaying in crystal report 2008

    I am developing a crystal report. The report displays data from database. The data is entered into database from a asp.net web form where a JavaScript Editor is used. Mainly data is saved in Danish character and also there are some emotion symbol. The web page is showing these data reading from database perfectly. But the Crystal Report is missing some Danish character as well as emotion symbol in some cases. The screen print both for web page and crystal report is shown bellow.  The database field DataType is “CLOB” and using Crystal Report 2008.
    Can anyone help me to get rid of this situation.
    Thanks to you all.

    Please have a look at the resolution in this thread:
    CR 2008 - Oracle 11g - CLOB fields are blank when using command
    -Abhilash

  • How to Display Japanese character in Crystal Report 8.5

    Hi,
    I've some data stored in japanese language in sql server 2005 database using nvarchar datatype.
    When i execute store proc in sql server, it's showing japanese character properly in sql server. However, when i'm trying to display data in crystal report 8.5, it's showing ????? character.
    I've tried to change font to 'Arial Unicode MS (Japanese)',MS Gothic, MS UI Gothic, MS Mincho (Japanese) as per the search result available in  google. But not had any luck.
    Can anyone please provide any solution for this?
    Many Thanks.
    Kaushal

    when i tried to open below link
    https://websmp130.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/bobj_download/main.htm
    It's not opening & displaying access denied message as below.
    403 Access denied
    You do not have the permissions to access this resource
    Error is logged with Tag:
    Just want to know, Is it possible to display japanese characters on report using crystal report 8.5?
    We've constraint to use only CR 8.5
    Regds,
    Kaushal

  • Crystal report 10 support thai character?it doesn't work in crystal veiwer

    Hi,
    we have product with which package crystal report runtime libarary. when are trying to open the crystal report from our product. it displays the crystal viewer as report. we are specifically looking for thai support.when run the report from our product it shows corrupt data. but from crystal design it show correct. what would be the problem? also we have web product, same report opened on web(it has an address of web server where crystal report server is installed) it works fine for thai data.
    Does anyone as any idea?

    Hello,
    WEB server is likely missing or does not have access to the Thai fonts. Open Control, Regional and Language Settings, Language tab and check on both options if not already done so. Then click on the Advanced Tab and check on the option for Default user account settings to enable anyone or any app to have access to the Thai fonts sets.
    Also confirm you are using and distributing the MLB version, includes all the language resource dll's for CR. Which ever fonts you designed the reports with also needs to be installed on the WEB server.
    Thank you
    Don

  • Problem while exporting to PDF with japanese character in Crystal Report X1

    Hi,
    I am using Crystal report X1 with classic ASP on a Windows 2003 Enterprise Server, SP 2. In my application, I have to export the report into PDF, CSV, DOC formats. I am have Japanese strings in the report. While exporting to PDF, empty boxes has displayed in the place of Japanese string and in CSV file, question mark has been displayed instead of Japanese string. But the Doc file is exported correctly. I have not installed any language support software either in server or in client machine. I have used MS Gothic and Arial Unicode MS fonts for the text-objects which has Japanese strings.
    Please give me a solution so that I will get PDF file with Japanese strings instead of empty box or question mark.
    Do I need to install any language support pack software?
    Thanks in advance.
    Regards,
    Manju

    Hi Don,
    Thank You for your reply. I have resolved the issue of exporting to pdf from crystal report X1 having Japanese data after installing the language pack.
    But when I am exporting to CSV or TXT, i am getting ??? instead of Japanese characters. I have tried "export" through crystal report designer and got ??? instead of Japanese.
    The Crystal report version I am using is Crystal report X1  11.0.0.1282
    Crystal Report Desinger is installed in Windows Xp machine
    Font set for Text object is Arial Unicode MS, MS PMincho, MS PGothic
    Does the Crystal report X1 11.0.0.1282 has the UTF-8 support for CVS / txt
    Please provide me a solution
    Thanks in advance,
    Regards,
    Manju

  • Crystal Report 9 - Can't Display UTF-8 Data

    Dear Sir,
    I am using PHP with Crystal Report 9.2 and has problem displaying UTF-8 data from MSSQL field. It shows weird characters instead. I am very sure the data stored in database is in UTF-8 because when I ouput it into the web browser with encoding as UTF-8, it shows correctly. Currently is using ADODB recordset to pass data into CR. I tried using ODBC to connect directly to database and preview the data - same issue.
    Now I wonder whether are there any settings need to be done in CR in order to display unicode correctly? From what I read, CR 9 and above should be able to support unicode.
    Thanks
    AL

    To be honest, I have no idea if TTX files supported UTF-8... I kinda doubt it. I'd check, but the only person I knwo of that may have a clue is not in until September 28...
    Re. ODBC, see if adding the following option to your DSN entry in the odbc.ini file will help:
    stmt = SET CHARACTER SET utf8
    Also, if I remember right, MS SQL does not install UTF-8 support by default (at least at one time or another it did not...(?).
    Oh - one more thing. I've attached a non CR app that I'd like you to use to see what the data it returns looks like. Please give that a try.
    - Ludek
    Edited by: Ludek Uher on Sep 7, 2011 10:43 AM

  • Display problem when reading Traditional Chinese in Crystal Report 2008

    Hi All,
    I have tried to connect MS SQL 6.5 to build up a report. However, I encounter a problem when read Traditional Chinese. all chinese characters turn into adnormal characters. I wonder it is problem of SQL Server or some setting that I may not know. In addition, I can able to read chinese in the application program , ISQL / Query Analyzer. Please help to give idea and suggestion to fix this. Thanks
    SQL Server: MS SQL Server  6.5
    Client OS: Window XP ( Traditional Chinese Version)
    Server OS: Window NT and Window Server 2000
    Stsyou

    Hi
    If you are using a Chinese language build database, Crystal Reports English build might not display the characters properly as non english databases include one byte characters as ASCII code character and double-byte characters as their own language code character.
    Traditional Chinese, Simplified Chinese, Japanese (Kanji, Hiranga, and Katakana), Korean and Vietnamese use double-byte characters.
    However, a possible workaround to this issue is to verify that the encoding on the database client is configured according to the examples below. Also, you will need to install the language pack in the English environment.
    CONFIGURATION EXAMPLES:
    Shift-JIS for a Japanese database
    Big5 for a Traditional Chinese database
    GB2312 for a Simplified Chinese database
    iso-2022-kr for a Korean database
    Windows 1258 for a Vietnamese database
    EXAMPLE SCENARIO:
    An Oracle database saves non-English language data such as Japanese.
    The Windows operating system is English.
    STEP TO CONFIGURE THE CHARACTER CODE IN THE ENVIRONMENT SETTING
    (This step is based on the details of the EXAMPLE SCENARIO.)
    1. Configure the system environment on the database client side to 'Shift-JIS' as the character code set in the Environment Setting.
    This results in the NLS_LANG variable set to Japanese_Japan.JA16SJIS under the registry HKEY_Local_Machine\Software\Oracle\Homeo.
    STEPS TO INSTALL LANGUAGE PACK IN AN ENGLISH ENVIRONMENT
    (These steps are based on the details of the EXAMPLE SCENARIO.)
    1. Add languages to the computer system by clicking:
    Control Panel > Regional Options > General
    2. Select the check box for 'Traditional Chinese', 'Simplified Chinese', 'Japanese', 'Korean' or 'Vietnamese'.
    3. Click 'Apply'.
    4. When you are prompted, insert the Windows CD-ROM to install the language pack.
    5. Restart the computer.
    Upon completing these steps, you are able to display the languages characters in the Crystal Reports Designer in a Windows English environment.
    ==========
    NOTE:
    If the database table and field names use non-English language characters, Data Explorer in CR will not correctly display these names. However, when you preview the report, the non-English data displays correctly.
    ==========
    Configuring the database client according to the examples and installing the language pack will display the characters successfully. However, there are cases when this workaround does not resolve the issue.
    For further information about CR and double-byte languages, refer to knowledge base articles, c2008083 and c2008349.
    Hope this helps!!!
    Regards
    Sourashree

  • Crystal Reports with Java in Unix Environment

    We have Crystal Enterprise Professional Edition and Embedded Edition v10 with us.We want to use them for generating reports in our development project.
    We have to generate reports as batch jobs ( scheduled jobs) for which we will have a Java Application running in Z/OS (Unix zSeries). This Java Application will connect to our database(DB2) and retrieve data which should be filled in the report design(template).
    1.Can the .rpt file have the design alone(without the data from database).?
    2.Can we fill the data from the database using the .rpt file in a Java Application using an API ?
    3.Can we export this file(report with data) to a text file with a specific character encoding.?
    All the above has to be done using a Java Application that will run in a Z/OS(Unix Environment).
    4.Is Java API for the above operations available as a .jar file that can be included in our classpath in UNIX Environment ?
    I request you all to help me with these queries as soon as possible.
    Million Thanks in Advance.

    Hi,
    It seems that you are having issue with Crystal reports Java SDK's.
    Post your question in Java Development - Crystal Reports forum.
    That forum is monitored by qualified technicians and you will get a faster response there. Also, all Java Development queries remain in one place and thus can be easily searched in one place.
    Thank you for your understanding
    Amit
    Edited by: Amit Singh on Dec 2, 2008 2:55 PM

Maybe you are looking for

  • Restoring iMessages from old HDD to new SSD Mavericks 10.9.5

    Hi everyone I recently upgraded my late 2011 MBP with an SSD and did a clean install of Mavericks. Took the old HDD out and put in a USB caddy for external usage and to restore my files. One thing I'm having trouble with though is iMessage. I don't s

  • Battery Care Question

    What is the best way to prolong/take good care of the battery in the Mac Book Pro. I will probably use it mostly at home. Should I always keep it plug into the outlet. Or should I allow it to drain and then recharge it and if so how often? When I had

  • Iphone videos sent via mms are crap. Why?

    I want to know what the heck happened and who dropped the ball on iPhone video MMS. It gets compressed to the point where it is completely unable to be made out. Not to mention there is no zoom option. Maybe I could understand if you're sending a vid

  • I am trying to export "bookmarks.html" for another browser but No HTML file is created! How can I fix this?

    Bookmarks> Organize bookmarks> ★ Export HTML > "export bookmarks file" window appears. Save as "Bookmarks.HTML" Desktop> NO FILE IS PRODUCED!

  • Universe based on Unidata database advice

    Hi there, I am looking for advice to building a universe based on a unidata database What is the best way to connecct to the datbase? Will I end up building lots of derived tables with loads of  UNION statements? Are there any tools out there to crea