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

Similar Messages

  • Crystal Report Can nt Load System.Web.Extensions Version=2.0.0.0.

    I have an application that I created in ASP.NET 1.1 that I subsequently upgraded to VS2008 - ASP.NET 2.0. Whenever I attempt to run the report in the application, I get the following error
    Could not load file or assembly 'System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    I have installed the Crystal Reports Runtime but to no avail. I would appreciate if someone could give me some help. Below is the source of the form containing the viewer
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="frmCompletedApplication.aspx.cs" Inherits="JobApplication.frmCompletedApplication" %>
    <%@ Register Assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
        Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">
            <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"
                AutoDataBind="True"
                SelectionFormula="{ApplicantPersonalInfo.ApplicantID} = 2"
                SeparatePages="False" Height="32767px"
                Width="901px" ReportSourceID="CrystalReportSource1">
            </CR:CrystalReportViewer>          
            <CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
                <Report FileName="JobApplicationReport.rpt">
                </Report>
            </CR:CrystalReportSource>
        </form>
    </body>
    </html>
    Here is my Web Config
    <?xml version="1.0"?>
    <configuration>
         <configSections>
              <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
                   <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
                        <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
                        <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
                             <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere"/>
                             <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
                             <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
                        </sectionGroup>
                   </sectionGroup>
              </sectionGroup>
         </configSections>
        <appSettings>
            <add key="CrystalImageCleaner-AutoStart" value="true" />
            <add key="CrystalImageCleaner-Sleep" value="60000" />
            <add key="CrystalImageCleaner-Age" value="120000" />
        </appSettings>
        <runtime>
            <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
                <publisherPolicy apply="no"/>
                <dependentAssembly>
                    <assemblyIdentity name="system.web.extensions" PublicKeyToken="31bf3856ad364e35" Culture="neutral"/>
                    <bindingRedirect oldVersion="2.0.0.0" newVersion="1.0.61025.0"/>
                </dependentAssembly>
            </assemblyBinding>
        </runtime>
        <system.web>
              <pages>
                   <controls>
                        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
                        <add namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" tagPrefix="ajaxToolkit"/>
                   </controls>
              </pages>
              <!--
              Set compilation debug="true" to insert debugging
              symbols into the compiled page. Because this
              affects performance, set this value to true only
              during development.
        -->
              <compilation debug="true">
                   <assemblies>
                        <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
                        <!<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>>
                        <add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                    <!-- <add assembly="System.Windows.Forms,
                    , Culture=neutral, PublicKeyToken=B77A5C561934E089"/>-->
                        <add assembly="CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                        <add assembly="CrystalDecisions.ReportSource, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                        <add assembly="CrystalDecisions.Shared, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                        <add assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                        <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                        <add assembly="CrystalDecisions.Enterprise.Framework, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                        <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                        <add assembly="CrystalDecisions.Data.AdoDotNetInterop, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
                        <add assembly="CrystalDecisions.VSDesigner, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
                         </assemblies>
              </compilation>
              <httpHandlers>
                   <remove verb="" path=".asmx"/>
                   <add verb="" path=".asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
                   <add verb="" path="_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
                   <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
                   <add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
              </httpHandlers>
              <httpModules>
                   <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
              </httpModules>
         </system.web>
    <system.webServer>
              <validation validateIntegratedModeConfiguration="false"/>
              <modules>
                   <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
              </modules>
              <handlers>
                   <remove name="WebServiceHandlerFactory-Integrated"/>
                   <add name="ScriptHandlerFactory" verb="" path=".asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
                   <add name="ScriptHandlerFactoryAppServices" verb="" path="_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
                   --<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
                   <add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                   <add name="CrystalImageHandler.aspx_GET" verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" preCondition="integratedMode"/>
                   <validation validateIntegratedModeConfiguration="false"/>
              </handlers>
         </system.webServer>
    </configuration>

    Note the error is re. 'System.Web.Extensions' which is a Microsoft framework dll. I would suggest:
    1) repair of the .NET installation
    2) update the framework with the latest SP
    3) see if you can crate a new app - without Crystal Reports using the 'System.Web.Extensions' assembly
    4) see if you can create a new app using Crystal Reports (One line app using saved data report will do; crystalreportviewer1.reportsource = <path>)
    5) Download the latest CR SP. As you don not mention what version of CR you are using, see if you can find the SP in our downloads section:
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm
    Ludek

  • While generating a crystal report can we edit database fiels in field explorer (at middle can we edit database fields)

    while generating a crystal report can we edit database fiels in field explorer (at middle can we edit database fields)

    Wrong forum to post the question, try to post the question in crystal reports community.
    Its not possible to edit the database fields while creating the reports, its only used to call the rows of values in it. Can you explain me in detail what are you actually looking for .
    --SumanT

  • While generating a crystal report can we edit database files in field explorer ?

    Hi,
    while generating a crystal report can we edit database files in field explorer (at middle can we edit database fields)
    Regards,
    Mahendra

    Wrong forum to post the question, try to post the question in crystal reports community.
    Its not possible to edit the database fields while creating the reports, its only used to call the rows of values in it. Can you explain me in detail what are you actually looking for .
    --SumanT

  • Crystal report generation with Java Bean AS  Data source on RAD

    <p>Hi,</p><p>&#160;</p><p>          Our company wants report generation in IBM RAD 7.0  using crystal reports with a Java Bean as data source. i HAVEN&#39;T FOUND ANY ARTICLES TO WORK ON RAD. Any inputs appreciated..</p><p>&#160;</p><p>Thanks,</p><p>Manju</p>

    Look for Java POJO in the doc, i'm using RAD 7.0 and it's working like RAD 6.0

  • Which version of crystal reports can link to Windev 14 and SQL server 2008 applications

    I am developing an application with windev 14 and sql server 2008, i would like to know which version of crystal report can i use?

    Hi GS,
    Move to .NET SDK forum.
    I don't know how CR for Visual Studio will integrate into WinDev but to get the installer for VS 2010/2012/2013 go to this page:
    SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
    It's the runtime for CR 2011 or 2013 now.
    As for SQL 2008 you need to install the Client tools and when creating reports use the SQLNCLI10.dll as the client DB driver for ODBC or OLE DB.
    Don

  • How can I display UTF-8 content in a struts portlet

    How can I display UTF-8 (with English and Traditional Chinese mixed characters) content in a struts portlet?
    Version used
    Oracle Portal 10g Release 1 (9.0.4) on Linux
    Portal language support: English only
    Many thanks !!!

    You can utilize multi-lingual support in your Struts portlets, as described in the Portal Developer's Guide.
    Peter

  • Can xcelsius use crystal report instance to display data?

    HI experts,
    Here we use live office with crystal reports to feed data to xcelsius flash. We schedule the crystal reports every day, and want to use data of the crystal report instance when user open a xcelsius flash.
    Can this be realized ?
    thanks a lot !

    Hi Sam,
    You can do this. Go to Live office and goto to the "Properties for all objects" and select the refresh tab.
    Select the option as "Latest Instance" for refresh option and then save the Excel sheet and re-import into Xcelsius.
    This would refresh the data from the latest instance of Crystal report.
    Thanks,
    Amit.

  • Crystal Report can only retrieve 1 row of data

    We are using the following configuration:
    - Microsoft Windows 2003 Server R2 for x64
    - Microsoft .Net Framework 3.0 for x64
    - Oracle Client 10g 10.2.0 for x64, which inlcudes Oracle Provider for OLE DB 10.2.0.2.21
    - Crystal Report 10 redistributable for x64, from Visual Studio 2005
    With that configuration, each time we run a report in ASP.Net, we can only retrieve 1 row of data, even though the data is more than that. We have no issue running the same report in 32 bit (same configuration as above, but 32bit).
    For the meantime, we use ODBC connection, and it runs well. But, ODBC is slow and since the system that we build is still under heavy testing, if any problem occurs during report generation, it locks up other reports and we have to restart the IIS. So, ODBC connection is definitely a no-no.
    Please help.

    I have the same problem which is assigned uder bug:6623430
    Still waiting for fix...

  • Crystal reports 11: Values displayed in crystal report not showing in VB6

    Hi!
    I updated an existing lower version of crystal report 7 to crystal report 11. Changes are the following:
    1. sql query in VB6 to add fields
    2. sql query in crystal report to manipulate values and not use formula. crx11 doesn't allow summary/total in formula fields.
    3. report orientation
    4. additional fields to view
    5. font sizes, length, can grow properties, etc.
    When I tested it directly in crx 11, all fields/values are displaying correctly. When I integrated it in VB 6 using Crystal ActiveX Report Viewer Library 11.0 and CR Viewer object, the field is blank.
    I've tried several checking like field suppressions, conditional suppressions, etc.
    By the way, I also have a report using a subrepot with conditional suppressions. Same thing is happening. The subreport data only displays the alloted space but does not show values in VB6.
    Thank you in advance for your help.
    Edited by: Naga01 on Jun 28, 2011 8:46 AM

    Thanks for your response.
    Before I read your response, I tried tweaking my reports and was able to resolve the issue.
    Steps taken to solve the issue are the following:
    a. Value not showing one field of four (4) reports.
    Solution: I created new ones and integrate it in VB 6. The values are now showing. Tweaked on the line object properties, got a problem with the extended line but solved it by adjusting the height of the detail section.
    b. Value not showing in sub-report.
    Solution: My report used a shared variable so I can pass the condition to my sub-report. I used the new reports and just pass a query during runtime. The values in the subreport is still not showing. I added a formula and called the value in it. Values in the subreport is now showing.
    I'll try to update the crystal reports version as suggested at a later time.

  • Problem in Exporting Crystal Report to MS-Excel 97-2000(data only)

    I have developed a crystal report using VS 2008 which has 12 columns, my question is when i export the report to MS Excel 97-2000 (data only) the report gets exported completely but some columns header names are missing i mean out of 12 column header names only 6 are getting displayed, kindly help me out.
    Thanks in advance
    Ramakrishna Reddy

    Hi Ramakrishna,
    When you export any report in data only format, all the formatting which has been applied to report fields will be lost.
    If you want the formatting as well then in export option check the box "Maintian object formatting".
    Or else you can export to MS EXCEL 97-2000 which will maintain all the formatting.
    Thank you
    Sumit

  • Crystal report -How to display multiple lines in line chart?

    Hi,
    M struggling to display multiple lines in line chart. All the values m fetching it from database into data table in below format & data type
    Category(String).....year(Int).....graph_values(Int).....table_value(String)
    Test.........................2006.......... -100............................(100)
    Avg..........................2006..........20................................20
    Median......................2006...........5................................5
    Test..........................2007...........500.............................500
    Avg...........................2007............90..............................90
    Median.......................2007............45..............................45
    M using cross tab to display data and chart to plot line. Following fields I used in Cross tab Expert & Chart expert
    Cross tab expert-
    Rows u2013 category
    Columns u2013 year
    Summarized fields u2013 Min of table_value
    In Chart Expert u2013
    On Change of - Year
    Show values - graph values
    In cross tab m able to see the data properly but not in graph.I have three categories. Hence it should plot three lines in line chart but m able to see only one line for test category.
    FYI u2013 using VS 2008 and crystal report assembly version 10.5
    Urgent. Please reply soon.
    Thanks
    ThakurS

    I got the solution.
    In Chart Expert - I should use
    On Change of -- Year, Category
    Show values -- graph values
    Thanks,
    ThakurS

  • Crystal reports converting varchar 254 to memo data type

    Hi All,
    We are still using Seagate Crystal Reports 7.5 for some of our reporting. I have a problem that hopefully someone can help with. One of our connections is to ODBC- AR System ODBC Data Source.
    In that data source there are fields defined as varchar 254 (confirmed by DBA),
    But Seagate is calling them memo fields- which is causing problems since you canu2019t use memos in selection criteria or formulas.
    This happened after the field names were renamed. I noticed when the newly named fields were not showing as an option to map the old name fields to- because by default it looks for same data type, after unchecking same data type option the fields showed for mapping but wrong data type makes them useless. I canu2019t even convert them to string with formula field.
    Any input would be greatly appreciated.
    Thanks-

    Hi,
    Yup, this was a problem with versions prior to 10.  If a field was longer than 254 characters, Crystal handled them like Memos and you cannot use them in formulas.
    The only suggestion I can offer would be to upgrade.  Crystal can now use memos in formulas and no longer has a 254 character limit on strings.  So your charcter fields will remain as charater and not changed to Memos.
    Good luck,
    Brian

  • Crystal Reports can't add stored procedure using Oracle Provider for OLE DB

    Hello,
    I am trying to bind an oracle stored procedure to a crystal report through Visual Studio 2008.
    This oracle stored procedure returns a ref cursor.
    I am using an oracle 11g database (11.2.0.2.0) .
    When I use the Oracle Provider For OLE DB driver to bind the store procedure with the report, I get the following error message:
    Description : ORA -06550 Line 1 Column 7
    PLS 00306 wrong number of types or arguments to the "Strored Procedure Name"
    But When I use the Microsoft OLE DB provider for oracle driver, I can bind the stored procedure to the report successfully .
    I cannot use the Microsoft OLE DB provider for oracle driver because it does not support the CLOB data type which I plan on having the stored procedure return once I can get everything working.
    I have tried setting PLSQLRSET = 1 IN "HKEY_LOCAL_MACHINE\SOFTWARE\KEY_OraDb11g_home1\OLEDB", but that does not seem to work either
    Any assistance would be greatly Appreciated
    My Stored procedure is very simple as the moment (I just need to get it working then I'll add more stuff). Here's what it looks like:
    CREATE OR REPLACE PACKAGE PROMO.PKG_REPORT as
    TYPE OUT_Type IS REF CURSOR;
    procedure Report_ThisReport (
    p_ThisIdField IN number,
    IO_CURSOR IN OUT OUT_Type
    end PKG_REPORT;
    CREATE OR REPLACE PACKAGE BODY PROMO.PKG_REPORT as
    procedure REPORT_ThisReport (
    p_ThisIdField IN number,
    IO_CURSOR IN OUT OUT_Type
    IS
    BEGIN
    OPEN IO_CURSOR FOR
    SELECT ThisField
    FROM ThisTable
    WHERE ThisIdField = p_ThisIdField ;
    END REPORT_ThisReport;
    end PKG_REPORT;
    Edited by: 894988 on Nov 3, 2011 2:45 PM
    Edited by: 894988 on Nov 3, 2011 2:46 PM
    Edited by: 894988 on Nov 3, 2011 2:47 PM

    It seems that some questions posted here on the XE forum are really questions about other Oracle technologies.
    Concretely, for you there is an Oracle Provider for OLE DB Forum that is active and a terrific resource for you to use.
    Oracle Provider for OLE DB
    Cheers!

  • Crystal Report can't add Currency field when connect to SAP Infosets.

    Hi,
    I created a simple Crystal Report which connect SAP Infosets.
    Everything is fine except I add a "Currency" field into report. Three errors returned.
    Fail to retrieve data from database -> Database connector error :'Syntax error in program SAPLHRPADINA1' -> Database connector Error: 'RFC_CLOSED'
    Do you have any idea?

    Hi,
    can you run a InfoSet query based on the InfoSet ?
    Can you create a QuickView on top of the InfoSet ?
    ingo

Maybe you are looking for