Unexpected XMP_Error Invalid UTF-8 data byte

Hi all,
I'm using the XMP SDK 4.4.2 and with it the sample application "xmpcommands". This one is extremely helpful - but it fails when using files that have Umlauts(öäü) in the name. When calling, i.e.
xmpcommand.exe get c:\Fileöäü.jpg
the command returns:
Unexpected XMP_Error Invalid UTF-8 data byte
As soon as I remove the umlauts all is fine. I tracked to problem down to the function ToUTF16Native called from GetFileMode in xmpfiles_impl.cpp:
    FileMode GetFileMode ( const char * path )
        std::string utf16;    // GetFileAttributes wants native UTF-16.
        ToUTF16Native ( (UTF8Unit*)path, strlen(path), &utf16 );
        utf16.append ( 2, '\0' );    // Make sure there are at least 2 final zero bytes.
It seems that the file path is NOT UTF8 encoded. This very likely as I'm working on Windows and there the command line encoding is ANSI.
Is there something special I need to set when compiling on Windows?
Does anyone have a solution for this?
[UPDATE]
I've converted the file path to UTF8 and now this error does not occure BUT now I get the error, that the file was not found! Grrr.....
Cheers & THANKS,
Jens
www.finalcandidate.com

Hi,
Input to OpenFile() function needs to be a UTF8 string. "flówér.jpg" is in WinANSI, and needs to be converted to UTF8 string so that OpenFile can correctly find the file.
For example, on Windows OS, you need to define a function as:
void WinEncodingToUTF8 ( UINT codePage, const XMP_Uns8 * hostPtr, size_t hostLen, std::string * utf8 )
int utf16Len = MultiByteToWideChar ( codePage, 0, (LPCSTR)hostPtr, (int)hostLen, 0, 0 );
std::vector<UTF16Unit> utf16 ( utf16Len, 0 );   // MultiByteToWideChar returns native UTF-16.
(void) MultiByteToWideChar ( codePage, 0, (LPCSTR)hostPtr, (int)hostLen, (LPWSTR)&utf16[0], utf16Len );
FromUTF16Native ( &utf16[0], (int)utf16Len, utf8 );
This function requires a function which is present in the file "UnicodeConversions.cpp". So you need to include a file "source/UnicodeConversions.hpp" in your project.
The sample usage could be:
std::string outputPath;
WinEncodingToUTF8( 1252, (const XMP_Uns8 *)inputFile.c_str(), inputFile.size(), &outputPath );

Similar Messages

  • Invalid UTF-8 middle byte 0x6f (at char #3309, byte #2895)

    Hello Oracle Support/ SOA Experts,
    Please guide me on how to resolve this issue.
    Issue Description : We are using ATG,Oracle SoA SUite 11g as the Front and Middleware applications for our current website project.The project is basically for latin america(Portuguese Language) and we are facing encoding issue while sending the request from ATG(Front End) to SOA (Middleware).We have an SOA-xsd [customer.xsd) that contains FirstName,LastName,MiddleName as elements.Front End application(ATG) sends the customer xsd in ISO-8859-1 encoding format as we understood that only encoding format for sending the portuguese names is this format.Front is able to send the request to SOA Without any issues however the only format which SOA Suite accepts in our BPEL process is UTF-8 and hence we are seeing this invalid UTF-8 error.Can anyone of you please explain us on how to resolve this issue or please guide us which encoding format can we use for passing portuguese characters from front end to SOA Suite.
    *Exception*:
                java.lang.RuntimeException: [com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 middle byte 0x6f (at char #3309, byte #2895): [com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 middle byte 0x6f (at char #3309, byte #2895)
    What we tried :
    Since ATG or front end is using the ISO-8859-1 format to send the request to SOA,we tried to use the encoding format in all the SOA BPEL XSD but we are unable to deploy after changing the encoding and we see the below error :
    Exception:
    Redeploying on /Farm_soa2_domain/soa2_domain/soa_server1 ...
    Redeploying on "/Farm_soa2_domain/soa2_domain/soa_server1" failed!
    Error during deployment/undeployment: oracle.mds.transfer.TransferException:
    MDS-00001: exception in Metadata Services layer
    MDS-00521: error while reading document /deployed-composites/default/ManageCustomerOrderOrchestration_rev1.0/xsd/ManageContract.xsd from metadata repository
    IS0-8859-1
    IS0-8859-1
    MDS-00001: exception in Metadata Services layer
    MDS-00521: error while reading document /deployed-composites/default/ManageCustomerOrderOrchestration_rev1.0/xsd/ManageContract.xsd from metadata repository
    IS0-8859-1
    IS0-8859-1

    Hello Oracle Support/ SOA Experts,
    Please guide me on how to resolve this issue.
    Issue Description : We are using ATG,Oracle SoA SUite 11g as the Front and Middleware applications for our current website project.The project is basically for latin america(Portuguese Language) and we are facing encoding issue while sending the request from ATG(Front End) to SOA (Middleware).We have an SOA-xsd [customer.xsd) that contains FirstName,LastName,MiddleName as elements.Front End application(ATG) sends the customer xsd in ISO-8859-1 encoding format as we understood that only encoding format for sending the portuguese names is this format.Front is able to send the request to SOA Without any issues however the only format which SOA Suite accepts in our BPEL process is UTF-8 and hence we are seeing this invalid UTF-8 error.Can anyone of you please explain us on how to resolve this issue or please guide us which encoding format can we use for passing portuguese characters from front end to SOA Suite.
    *Exception*:
                java.lang.RuntimeException: [com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 middle byte 0x6f (at char #3309, byte #2895): [com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 middle byte 0x6f (at char #3309, byte #2895)
    What we tried :
    Since ATG or front end is using the ISO-8859-1 format to send the request to SOA,we tried to use the encoding format in all the SOA BPEL XSD but we are unable to deploy after changing the encoding and we see the below error :
    Exception:
    Redeploying on /Farm_soa2_domain/soa2_domain/soa_server1 ...
    Redeploying on "/Farm_soa2_domain/soa2_domain/soa_server1" failed!
    Error during deployment/undeployment: oracle.mds.transfer.TransferException:
    MDS-00001: exception in Metadata Services layer
    MDS-00521: error while reading document /deployed-composites/default/ManageCustomerOrderOrchestration_rev1.0/xsd/ManageContract.xsd from metadata repository
    IS0-8859-1
    IS0-8859-1
    MDS-00001: exception in Metadata Services layer
    MDS-00521: error while reading document /deployed-composites/default/ManageCustomerOrderOrchestration_rev1.0/xsd/ManageContract.xsd from metadata repository
    IS0-8859-1
    IS0-8859-1

  • OracleXMLQuery fails with invalid UTF-8 character

    All -
    While using OracleXMLQuery API to pull the data back as a DOM. The internal parser has a fatal error with invalid UTF-8 data stored in the XML data.
    Is it possible to use the setXSLT() method to transform the data before the DOM is attempted to be built. Or some other method within the OracleXMLQuery API to alter the invalid XML data before an attempt is made to parse it?
    Note: The database will have non-UTF-8 data; Presently beyond our control.

    Hi,
    Are the files from the Java-CD fully readable and fully copied, for instance the java-dumpfile ?
    Ensure JVM settings of note # 716604 area applied. Also, is connect possible to database by 'configtool' or does it throw an error ?
    Br,
    Javier

  • BiizTalk 2013 and EDI Message Invalid character in data element

    Hi:
    Background: I have a Vendor sending us EDI
    856 (Advance Shipping Notice). We are using EDI X12 and BizTalk 2013. In the Parties Agreement we use ISA11 = U-US EDI Community of ASC X12. The vendor is sending 'U' in ISA11.
    Error:
    At the beginning of EDI Schema import, during EDI audit, we get the following error messages, repeated a few time.
    Error: 1 (Field level error)
                SegmentID: LIN
                Position in TS: 18
                Data Element ID: LIN09
                Position in Segment: 9
                Data Value:
                6:
    Invalid character in data element
    Error: 2 (Field level error)
                SegmentID: PID
                Position in TS: 20
                Data Element ID: PID05
                Position in Segment: 5
                Data Value:
                6:
    Invalid character in data element
    Root Cause: In all the error cases the data
    fields contain “Ü” (U with two dots above it). German character.
    Question: What is the best way to deal with
    the issue or replace “Ü” (U with two dots above it) characters?
    Looking forward to your reply.
    Regards, Toraj
    Toraj [email protected]

    I edited the source file and saved it as UTF-8. It seems, it resolved the issue.
    Very cool.
    Toraj
    Toraj [email protected]
    Glad that you have solved this issue by yourself, and thanks for sharing your solution to us.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Invalid UTF-8

    Hi,
    In startsap_<name>.log of a ECC6 appear the next error:
    (2377) Local: /usr/sap/PRD/SYS/exe/run/sapmscsa -n pf=/usr/sap/PRD/SYS/profile/PRD_DVEBMGS00_ap-s-sap
    --- Unicode interface [u16_get.c line 227] pid = 2378 :
    Invalid UTF-8 encountered by fgetcU16 (fileno 0x5)
    f3 6e                                           |.n              |
    --- Unicode interface -
    End of message -
    --- Unicode interface [u16_get.c line 227] pid = 2378 :
    Invalid UTF-8 encountered by fgetcU16 (fileno 0x5)
    Anybody has some idea of where can solve this error?
    Thanks,
    jose

    Hi,
    fgetc is an C function to read your file bytes and is detecting a problem with charset encoding.
    Check your profile file =/usr/sap/PRD/SYS/profile/PRD_DVEBMGS00_ap-s-sap is encoded with UTF-8 charset. You can use "file" command (see man file) or your text editor (Are you on unix or linux?).
    You may also check the default encoding for your system with command "locale charmap" (maybe it is iso-8859-1 or ASCII if you are using unix). Check also whether your system has UTF-8 locale support enabled (command "locale -a"). Check the contents of the env valiable LANG, because you are using the locale informed in this variable.
    C libraries use the encoding specified in env variable LC_CTYPE or LANG (In that order)
    Your SAP system expects UTF-8 because your SAP installation may be Unicode.
    I hope this help,
    Jorge Linares

  • 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

  • RSA1 going to shortdump, ERROR: Invalid GUI input data: Message no. 00123

    dear experts,
    while executing RSA1 going to short dump, ERROR: Invalid GUI input data: Message no. 00123 in sap-bi 7.0
    plz need help,
    regards.

    John,
    Those are the specs of the Software Components, the backend... As we mentioned before, download the latest SAPGUI version and install it in your PC...
    The latest SAPGUI can be downloaded from https://websmp204.sap-ag.de/support, go to Downloads, then "Browse the Navigation Area", on the left click "A-Z Index", then click on "G" and you'll see the "SAP GUI FOR WINDOWS" option, click on it...
    You can download it from here... Please notice your OSS user needs authorization to do so... Probably need to check with your Basis guys for this...
    Hope this helps.
    Luis

  • Unencode a UTF-8 data

    Hi,
    I need to "un-encode" a UTF-8 data that is obtained from the HTTP header from mod_sso. The encoding is done in C and this the standard encoding process that is followed, The requirement is to "un-encode" this information at PL/SQL level and then pass the information further ahead in the program. Since the encoding is done in a standard way, I wanted to figure out if there is any ready to use API to decode it.
    The output that is get which is there in the UTF-8 encoded fashion is
    ?UTF-8?Q?cn=3D=E7=94=A8=E6=88=B7=E4=B8=80,cn=3Dusers,=20dc=3Dus,dc=3Doracle,dc=3Dcom?
    Any pointers related to this will be appreciated.
    Thanks for your help
    - Abhishek

    Kerberos V is not internationalized. Applications are expected to provide
    ASCII characters with Kerberos, which is in compliance with the specification.
    Non-ASCII username/passwords are not supported under the present definition.
    There is an ongoing effort at IETF to address this.
    Seema

  • ERROR: invalid checksum in data file (log file SAPDOKCL.log)

    Hi All,
    I am trying to install SAP4.7 IDES on Windows 2003 server with oracle9.2 as database
    I am getting this error from a long time. Let me know how to troubleshoot this.
    I have replaced the Export file 5 with a new one but agin the same error
    Thanks in Advance
    Rakesh
    D:\usr\sap\ERP\SYS\exe\run/R3load.exe: START OF LOG: 20100131032746
    D:\usr\sap\ERP\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/620/src/R3ld/R3load/R3ldmain.c#6 $ SAP
    D:\usr\sap\ERP\SYS\exe\run/R3load.exe: version R6.20/V1.2
    D:\usr\sap\ERP\SYS\exe\run/R3load.exe -ctf I E:\Exports\51019635_1--export5/DATA/SAPDOKCL.STR C:\SAPinst/DDLORA.TPL C:\SAPinst/SAPDOKCL.TSK ORA -l C:\SAPinst/SAPDOKCL.log
    D:\usr\sap\ERP\SYS\exe\run/R3load.exe: job completed
    D:\usr\sap\ERP\SYS\exe\run/R3load.exe: END OF LOG: 20100131032746
    D:\usr\sap\ERP\SYS\exe\run/R3load.exe: START OF LOG: 20100131032808
    D:\usr\sap\ERP\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/620/src/R3ld/R3load/R3ldmain.c#6 $ SAP
    D:\usr\sap\ERP\SYS\exe\run/R3load.exe: version R6.20/V1.2
    D:\usr\sap\ERP\SYS\exe\run/R3load.exe -dbcodepage 1100 -i C:\SAPinst/SAPDOKCL.cmd -l C:\SAPinst/SAPDOKCL.log -stop_on_error
    DbSl Trace: Got ORACLE_HOME=D:\oracle\ora92 from environment
    DbSl Trace: Client NLS settings: AMERICAN_AMERICA.WE8DEC
    DbSl Trace: Logon as OPS$-user to get SAPERP's password
    DbSl Trace: Connecting as /@ERP on connection 0 ...
    DbSl Trace: Attaching to DB Server ERP (con_hdl=0,svchp=014C5914,svrhp=014C7B4C)
    DbSl Trace: Starting user session (con_hdl=0,svchp=014C5914,srvhp=014C7B4C,usrhp=014D0304)
    DbSl Trace: Now I'm connected to ORACLE
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    DbSl Trace: Disconnecting from connection 0 ...
    DbSl Trace: Closing user session (con_hdl=0,svchp=014C5914,usrhp=014D0304)
    DbSl Trace: Now I'm disconnected from ORACLE
    DbSl Trace: Try to connect with default password
    DbSl Trace: Connecting as SAPERP/<pwd>@ERP on connection 0 ...
    DbSl Trace: Starting user session (con_hdl=0,svchp=014C5914,srvhp=014C7B4C,usrhp=014D0304)
    DbSl Trace: Now I'm connected to ORACLE
    DbSl Trace: Database NLS settings: AMERICAN_AMERICA.WE8DEC
    DbSl Trace: Database instance erp is running on PAO with ORACLE version 9.2.0.1.0 since 20100131
    Sun Jan 31 03:28:14 2010
    ***LOG BZA=> table SVERS      does not exist on database [dblink#1 @ 1292] [dblink  1292 ]
    (DB) INFO: connected to DB
    (DB) INFO: DOKCLU created
    (RFF) ERROR: invalid checksum in data file "E:\Exports\51019635_1--export5/DATA/SAPDOKCL.001"
                 current table was "DOKCLU"
    DbSl Trace: Disconnecting from connection 0 ...
    DbSl Trace: Closing user session (con_hdl=0,svchp=014C5914,usrhp=014D0304)
    DbSl Trace: Detaching from DB Server (con_hdl=0,svchp=014C5914,srvhp=014C7B4C)
    DbSl Trace: Now I'm disconnected from ORACLE
    (DB) INFO: disconnected from DB
    D:\usr\sap\ERP\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    D:\usr\sap\ERP\SYS\exe\run/R3load.exe: END OF LOG: 20100131033807
    D:\usr\sap\ERP\SYS\exe\run/R3load.exe: START OF LOG: 20100131093619
    D:\usr\sap\ERP\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/620/src/R3ld/R3load/R3ldmain.c#6 $ SAP
    D:\usr\sap\ERP\SYS\exe\run/R3load.exe: version R6.20/V1.2
    D:\usr\sap\ERP\SYS\exe\run/R3load.exe -dbcodepage 1100 -i C:\SAPinst/SAPDOKCL.cmd -l C:\SAPinst/SAPDOKCL.log -stop_on_error
    DbSl Trace: Got ORACLE_HOME=D:\oracle\ora92 from environment
    DbSl Trace: Client NLS settings: AMERICAN_AMERICA.WE8DEC
    DbSl Trace: Logon as OPS$-user to get SAPERP's password
    DbSl Trace: Connecting as /@ERP on connection 0 ...
    DbSl Trace: Attaching to DB Server ERP (con_hdl=0,svchp=014C5914,svrhp=014C7B4C)
    DbSl Trace: Starting user session (con_hdl=0,svchp=014C5914,srvhp=014C7B4C,usrhp=014D0304)
    DbSl Trace: Now I'm connected to ORACLE
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    DbSl Trace: Disconnecting from connection 0 ...
    DbSl Trace: Closing user session (con_hdl=0,svchp=014C5914,usrhp=014D0304)
    DbSl Trace: Now I'm disconnected from ORACLE
    DbSl Trace: Try to connect with default password
    DbSl Trace: Connecting as SAPERP/<pwd>@ERP on connection 0 ...
    DbSl Trace: Starting user session (con_hdl=0,svchp=014C5914,srvhp=014C7B4C,usrhp=014D0304)
    DbSl Trace: Now I'm connected to ORACLE
    DbSl Trace: Database NLS settings: AMERICAN_AMERICA.WE8DEC
    DbSl Trace: Database instance erp is running on PAO with ORACLE version 9.2.0.1.0 since 20100131
    (DB) INFO: connected to DB
    (DB) INFO: DOKCLU deleted/truncated
    (RFF) ERROR: invalid checksum in data file "E:\Exports\51019635_1--export5/DATA/SAPDOKCL.001"
                 current table was "DOKCLU"
    DbSl Trace: Disconnecting from connection 0 ...
    DbSl Trace: Closing user session (con_hdl=0,svchp=014C5914,usrhp=014D0304)
    DbSl Trace: Detaching from DB Server (con_hdl=0,svchp=014C5914,srvhp=014C7B4C)
    DbSl Trace: Now I'm disconnected from ORACLE
    (DB) INFO: disconnected from DB
    D:\usr\sap\ERP\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    D:\usr\sap\ERP\SYS\exe\run/R3load.exe: END OF LOG: 20100131094626
    D:\usr\sap\ERP\SYS\exe\run/R3load.exe: START OF LOG: 20100131103530
    D:\usr\sap\ERP\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/620/src/R3ld/R3load/R3ldmain.c#6 $ SAP
    D:\usr\sap\ERP\SYS\exe\run/R3load.exe: version R6.20/V1.2
    D:\usr\sap\ERP\SYS\exe\run/R3load.exe -dbcodepage 1100 -i C:\SAPinst/SAPDOKCL.cmd -l C:\SAPinst/SAPDOKCL.log -stop_on_error
    DbSl Trace: Got ORACLE_HOME=D:\oracle\ora92 from environment
    DbSl Trace: Client NLS settings: AMERICAN_AMERICA.WE8DEC
    DbSl Trace: Logon as OPS$-user to get SAPERP's password
    DbSl Trace: Connecting as /@ERP on connection 0 ...
    DbSl Trace: Attaching to DB Server ERP (con_hdl=0,svchp=014C5914,svrhp=014C7B4C)
    DbSl Trace: Starting user session (con_hdl=0,svchp=014C5914,srvhp=014C7B4C,usrhp=014D0304)
    DbSl Trace: Now I'm connected to ORACLE
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    DbSl Trace: Disconnecting from connection 0 ...
    DbSl Trace: Closing user session (con_hdl=0,svchp=014C5914,usrhp=014D0304)
    DbSl Trace: Now I'm disconnected from ORACLE
    DbSl Trace: Try to connect with default password
    DbSl Trace: Connecting as SAPERP/<pwd>@ERP on connection 0 ...
    DbSl Trace: Starting user session (con_hdl=0,svchp=014C5914,srvhp=014C7B4C,usrhp=014D0304)
    DbSl Trace: Now I'm connected to ORACLE
    DbSl Trace: Database NLS settings: AMERICAN_AMERICA.WE8DEC
    DbSl Trace: Database instance erp is running on PAO with ORACLE version 9.2.0.1.0 since 20100131
    (DB) INFO: connected to DB
    (DB) INFO: DOKCLU deleted/truncated
    (RFF) ERROR: invalid checksum in data file "E:\Exports\51019635_1--export5/DATA/SAPDOKCL.001"
                 current table was "DOKCLU"
    DbSl Trace: Disconnecting from connection 0 ...
    DbSl Trace: Closing user session (con_hdl=0,svchp=014C5914,usrhp=014D0304)
    DbSl Trace: Detaching from DB Server (con_hdl=0,svchp=014C5914,srvhp=014C7B4C)
    DbSl Trace: Now I'm disconnected from ORACLE
    (DB) INFO: disconnected from DB
    D:\usr\sap\ERP\SYS\exe\run/R3load.exe: job finished with 1 error(s)
    D:\usr\sap\ERP\SYS\exe\run/R3load.exe: END OF LOG: 20100131104452

    and to add: you're not following SAPs suggestions according to the installation guide.
    > D:\usr\sap\ERP\SYS\exe\run/R3load.exe: version R6.20/V1.2
    Kernel 6.20 is out of support already for a long time. You should get an updated installation CD with a 6.40 kernel.
    > DbSl Trace: Database instance erp is running on PAO with ORACLE version 9.2.0.1.0 since 20100131
    9.2.0.1 was never supported. If you read the installation you will notice, that you should install the database plus the latest patchset plus the latest interim patches before you continue with the installation.
    Markus

  • Error -ORA-01483: invalid length for DATE or NUMBER bind variable

    In discoverer plus, attempt to save a discoverer workbook into the database fails with the error:
    ORA-01483 invalid length for DATE or NUMBER bind variable
    The same workbook can be safely saved in "My Computer".
    Any idea why and what is the solution.

    Why: not quite sure, probably the code is validating the workbook when it saves it to the db and you've got an error in the sql. What happens when you run the workbook that you saved to the file system? Does it show the same error when run?
    Solution: Can you post the sql in the workbook? In the meantime try the following: Replace any to_char statements around dates with to_date statements instead. For example:
    Replace:
    where to_char(mydate, 'dd-mon-yyyy') = '05-apr-2009'
    With:
    where mydate = to_date('05-APR-2009','DD-MON-YYYY')

  • INVALID CPU time data!        -----Urgent

    Hi friends,
    when i am issuing " top " command
    For one CPU it is displaying " INVALID CPU time data! "
    output:
    cpu03 0.0% 0.0% 1.8% 0.0% 0.0% 96.8% 1.2%
    cpu04 - INVALID CPU time data!
    What it means ,what is the problem in my system and how to slove it
    Thanks in advance

    Sometimes it is showing as
    cpu03 0.0% 0.0% 1.8% 0.0% 0.0% 96.8% 1.2%
    cpu04 100.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0%
    Please respond soon

  • Invalid character in data element-Biztalk 2013

    I am using Biztalk 2013, i want to process a file received from partner EDI To XML(843). I received following file as below:-
    REF~QU~N //I received QU value in received file for REF01 and this value is mentioned in collection for REF01, still biztalk is generating following error
    Note:-I even change the Base data type to xs:string from X12_AN
    Error: 1 (Field level error)
        SegmentID: REF
        Position in TS: 5
        Data Element ID: REF01
        Position in Segment: 1
        Data Value:
        6: Invalid character in data element
    Secondly almost same error is is N1 loop
    N1~S8~PUBLIC SERV N C~29~42222//i received this value in N102
    Note:-I even change the Base data type to xs:string
    Error: 3 (Field level error)
        SegmentID: N1
        Position in TS: 22
        Data Element ID: N102
        Position in Segment: 2
        Data Value:
        6:Invalid character in data element
    Help me to solve this issue.it's urgent
    Thanks in advance

    Hi Gag,
    1.Create a new custom receive pipeline
    2.Add the XmlDisassembler to the pipeline and configure it to your need.
    3.Add the FixEncodingComponent to the pipeline in the Decode stage, so that it is run before the XmlDisassembler.
    4.Set the Encoding parameter of the component in the Property Explorer to the encoding you want to use. To make this easier, the component implements a custom
     UITypeEditor that pops up a list of all the encodings supported by the .NET framework:
    For encoding Component you can visit
    http://winterdom.com/2006/01/fixmessageencodingcustompipelinecomponentsample
    Thanks
    Abhishek

  • Any recommendations for an editor to help find invalid UTF-8 characters?

    I'm generating some XML programmatically. The content has some old invalid characters which are not encoded as UTF-8. For example, in one case there is a long dash character that I can clearly see is ISO-8859-1 in a browser, because if I force the browser to view in ISO-8859-1 I can see the character, but if I view in UTF-8 the characters look like the black-diamond-with-a-question-mark.
    BBEdit will warn me that the the file contains invalid UTF-8. But it doesn't show me where those characters are.
    If I try to load the XML in a browser, like Chrome, it will tell me where the first instance is of an invalid character, but not where all of them are. So I was able to locate the one you see in the screenshot and go in and manually fix that one entry.. But in BBEdit it again just shows a default invalid character symbol.
    What I'd like to be able to do are two things:
    (1) Find all invalid characters so I can then go and fix them all at once without repeated "find the first invalid character" fails when loading the XML in a browser.
    (2) Know what the characters are (rather than generically seeing a bad character symbold) so  I can programmatically strip them out or substitute them when generating the XML. So I need to know what the character values (e.g. the hex values) are for those characters so I can use the replace() method in my server-side JavaScript to get rid of them.
    Anybody know a good editor I can use for these purposes?
    Thanks,
    Doug

    Well, now BBEdit doesn't complain anymore about invalid UTF-8 characters. I've gotten rid of all as far as BBEdit is concerned. But Chrome and other browsers still report a few. I'm trying to quash them now, but because the browsers only report them one-by-one I have to generate the XML multiple times to track them down, which takes one hour per run.
    I think there are only a few left. One at line 180,000. The next at like 450,000. There are only about 600,000 lines in the file, so I think I'll be done soon. Still... it would be nice to have a Mac tool that would locate all the invalid characters the browsers are choking on so I could fix them in one sweep. It would save hours.
    Does anybody know of such a tool for the Mac?
    Thanks,
    Doug

  • Accessing bits of the data bytes and enable and disabling

    Hello i want to send data byte to the CAN and enable and disable one of its bits how to do?

    Hey Uday,
    I am unsure of what CAN device you are using, as well as what type of programming language you would like to develop in. With that being said I will assume one of our PCI CAN cards and that you will be using LabVIEW to program. Please take a look at the NI-CAN manual for help on programming your CAN card, specifically with reference to chapter 7.
    Thanks again and have a great day!
    Regards,
    Nicholas K
    National Instruments
    Applications Engineer

  • NWDI: invalid-name-reservation-data

    Hi,
    I am currently preparing my NWDI to start developments in ISA 2B 5.0
    When I try to save my track I get the error message
    <b>x:invalid-name-reservation-data</b>
    Do you know an answer to this?
    The trackID I specified is YISB2B50
    The Trackname I specified is YISAB2BREL50
    For the DTR and CBS URL I specified the full qualified domain name

    Hi Mario,
    I got the same problem.
    Could you send all steps to solve this problem?
    In this case: the procedure to configure NWDI in the SLD?
    It will be very userful.

Maybe you are looking for

  • How do I add a space to the toolbar in Firefox 29.0? I can grab a space from empty areas and move it around, but where do I find a "space" icon to ADD a space?

    It has been useful in past versions of Firefox to be able to add (a) space(s) between icons on the toolbar in order to create groups of icons and/or separate icons by class or function. In Firefox 29.0, I discovered how to "grab" (click and drag) a s

  • PS CC does not appear.

    Downloaded trial version of CC for PS about 10 days ago.  PS does does not appear in any of the many places/ways i have tried to start it.  From mac Launchpad i see Bridge, CC, CC other folder, and application manager folder.  But no Photoshop!!! I c

  • How to record generated sound to a file ?

    I have a program that can generate sound, I can hear the sound sequence from my headphone, now I'm trying to save the generated sound to an .au file, it should have a few seconds of sound, but instead I just heard a short beep, seems it didn't record

  • Import Problem

    Hi all, I am creating an import routine that runs from 10g oracle form. In the form I create scripts and a par file to create the user, and grab details then use HOST to run the scripts and then call . It all works fine apart from the actual import (

  • Oracle 11g and APEX version

    Hi, My understanding was that APEX 4.0 comes by default with Oracle 11g... recently we've got the oracle 10g upgraded to 11g and our admin has mentioned that APEX verision is showing APEX 3.2.1... Please advice... Thanks