Special character in receiving file

hi everyone.
i have implemented file to file scenario. I am getting file at my receiving end.
IN my receiver CC i have mentioned endSeparator as 'nl' , but when file gets created it shows special charater (box shaped) separating each record.
any idea where m going wrong ?
thanks,
gaurav

hi,
when i opened that txt file in notepad , m getting that special rectangle character but when i opened it in wordpad, its coming perfectly.
what does this rectangle char is ??? when we specify endSeparator as 'nl' then do we need to open it in wordpad only ????
thanks,
pooja

Similar Messages

  • How to deal with special character in source file

    Hi experts,
                      i am doing a file to file scenario in which my source file contains many special characters when i am puting this file into moni its going with the special character .My source file is a fixed length file so in content conversion i have specified the file length but due to these special charcters these field lenght is also varing.So please guide me how to deal with these special characters in sender adapter
    regards,
    Saurabh

    you could try using a Java Mapping to change the encoding manually. For that, set the encoding of the OutputFormat of the XML you'll serialize. Try the following code piece for the mapping (inside a try/catch declaration):
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder documentBuilder = factory.newDocumentBuilder();
    Document input = documentBuilder.parse(in);
    OutputFormat format = new OutputFormat(XML, "ISO-8859-1", false);
    XMLSerializer serializer = new XMLSerializer(out, format);
    For more details check this guide:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42

  • How to insert special character in sgm file and interprete it without isoents while opening in FM9.0

    I have an sgm file which contains special characters in different languages.
    <!DOCTYPE MANUAL PUBLIC "-//SWE-XXX//DTD XXX MANUAL-DTD 2.0//EN">
    <MANUAL LANG="CS">
    <TITEL>
    Polish characters: &oacute;&ecirc;&iquest;&ntilde;&aelig;&Ntilde;&AElig;&Ecirc;&yen;&Oacute;&pound;
    Czech characters: &eacute;&igrave;&oacute;&iuml;&aacute;&oslash;&egrave;&iacute;&ugrave;&ograve;&uacute;&Og rave;&Igrave;&Eacute;&Oacute;&Uacute;&Ugrave;&Egrave;&Oslash;&Iacute;&Aacute;&Iuml; aacute: &aacute;</TITEL>
    </MANUAL>
    Is there any way to insert special character directly in sgm file, so that it won't have to be interpreted by isoents mapping rules?
    isoent.rwr interpretes oacute as:
    entity "oacute" is fm char 0x00F3;
    But I would like to use 0x00F3 directly in fm file, so that if any additional character is needed - I won't have to update isoent files
    I've tested already:
    &#x00F3;
    &x00F3;
    &0x00F3;
    but with no luck
    Is there anyone who could help me with it?
    I will really appreciate your help
    /Joanna

    Hi Michael. Thank you for your reply.
    There is no declaration within sgm file itself - but while opening the file I use sgml application definition with the following settings:
    Default API client:  FmTranslator
    SGML character encoding:  ISO Latin1
    XML character encoding:  UTF-8
    Namespace: Enable
    CSS2 Preferences:
    Generate CSS2: Disable
    Add Fm CSS Attribute To XML: Disable
    Retain Stylesheet Information: Disable
    Entity locations
    Entity search paths
    C:\Program Files\Adobe\FrameMaker9\Structure\sgml\isoents
    So as you can see, character encoding is set to ISO Latin1 (there is no way to use UTF-8 encoding in sgml files)
    Typing ź or ć in sgm document and opening it with framemaker sgml application - I receive: ¿æ and message: "Non-SGML character found; should have been character reference"
    Everything works fine when I type f.ex.: &x016B; and insert appropriate reference lines into isolat1.rw and isolat1.ent files
    But what I would like to avoid is editing those isoent files each time new character is be needed.

  • Special character in receiver xml

    Dear All,
    I have a file being moved from SAP to Market end point server. The receiver side is in xml format (no FCC)
    Code page conversion is used - UTF8 TO UTF16LE
    A special character is occurring in the receiver side: [] It is actually new line character and I suupose due to incompatibility it is coming.
    How do we get rid of this character?
    Thanks

    Hi,
    What Kind of mapping do you use? I have explored this behaviour in a XSLT Mapping and i resolved it by using <xsl:strip-space element = "*" />
    Maybe this help?
    Regards,
    Björn

  • Unwanted character in Receiving Files at FTP

    Hi All,
    We have scenario where I am  sending the files(NFS) to FTP,just like file to file scenario. It seems to every thing is fine but when I look at that files in receiver side(FTP) there  is a special charcter placed in end of each record. ^M
    like this :
    werrtt, 123224214, fsdaff,^M
    dsfdsf,6756767,dsfsffdff,^M
    Do you have any idea why it(^M) is coming, do I need to use Unicodes for aviod that ? currently I am using binary/format in channel. If I dont send those files to FTP , then I dont see that character.
    Our FTP on Unix and Files picking from windows(NFS).
    How to avoid this special character(^M)?,  Is this based on FTP behaviour  or environment problem?
    Thanks,
    Shankar

    > This has resolved the issue but I believe instead of unix script if we can handle in XI itself, it will be too good.
    You can do this in PI, but it is a cumbersome:
    Put following modules in the module before the standard module:
    1. Use the StrictXml2PlainBean instead of the content conversion in file adapter
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/44/748d595dab6fb5e10000000a155369/frameset.htm
    2.ConvertCRLFfromToLF
    http://help.sap.com/saphelp_nwpi71/helpdata/EN/96/f04142099eb76be10000000a155106/frameset.htm

  • Problem with special character in Unix file

    Hi All,
    Need a help here. We have unicoded our system recently.
    It's regarding a special character (umlaut) that comes through a 3rd party system to an Unix file. This gets displayed in AL11 file as # instead of ö.
    As our program picks the file from Unix, it also has the # but we want ö.
    We could have done some fixes in our code to fix if AL11 file at least had ö and we got # in our program.
    But it's the other way round. So, how can we get rid of this issue? Please suggest.
    Regards,
    Sanj.

    How Al11 is reading file ? Look for
    OPEN DATASET "yourfilename" IN TEXT MODE ENCODING DEFAULT FOR INPUT
                                  IGNORING CONVERSION ERRORS.
    If the above code is there .. you might need to play with different 'OPEN DATASET " options .
    Also look for Note 1174468 - Non-7bit-ASCII characters used in ABAP Workbench
                       Note 1227961 - Names of text fields with non-7-bit ASCII characters
    Good Luck !
    ^Saquib

  • Unprintable special character in RDP file

    We're having strange issue. We use RDP files generated in RDP client, we then sign those using rdpsign.exe.
    Recently after upgrading our infrastructure from W8/2012 to W8.1/2012R2 we noticed that every RDP file generated in RDC 8.1 client contains a special character on first position that is not visible in normal text editor and is only visible in hex editor.
    This character wasn't there in W8/2012. When I create the RDP file manually (typing (copy/pasting) all the options in a text file), it doesn't contain any special character, but when I later sign that file file rdpsign, it adds that character again.
    How do we get rid of it? It's preventing our provisioning system from substituting username.

    Hello MarkosP,
    Thanks for contacting Microsoft.
    These bytes are regular UTF-16 byte order marks. See here:
    http://en.wikipedia.org/wiki/Byte_order_mark#UTF-16
    If the tool you use on the RDP file does not support UTF-16, you can try to convert the file to ASCII. This will probably work for most RDP files, except if some
    string uses some unicode character not present in the ASCII character set. Here is some info (see the powershell section in the first post/question):
    http://stackoverflow.com/questions/64860/best-way-to-convert-text-files-between-character-sets​
    Best regards,
    Sophia Sun
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Special character on reading file in the background

    Hi All.
    I am trying to read a file taht looks like below.
    When I read in background using READ DATASET it gives an extra character in the beginning of the 1st line only.
      OPEN DATASET is_sel_data-app_path IN TEXT MODE ENCODING
      DEFAULT FOR INPUT.
    This does not happen when i read using GUI_UPLOAD.
    This distorts our data column indication in the background. Please suggest what could be the reason for this.
    | |MANDT|MATNR               |WERKS |STAWN              |
    | |203  |000000000010089283  |A041  |38249099           |
    | |203  |000000000010089292  |A041  |38249099           |
    | |203  |000000000010059745  |A041  |38249099           |
    | |203  |000000000010059802  |A041  |34029090           |
    Thanks,
    Vinotha M
    Edited by: Vinotha M on Oct 21, 2010 9:30 AM
    Edited by: Vinotha M on Oct 21, 2010 9:33 AM
    Edited by: Vinotha M on Oct 21, 2010 9:34 AM

    Thanks for your reply!.
    This is a standard GTS Program i.e its a load program.
    Is there anything else I can do.

  • How to Find ":\" special character in INI file using powershell

    Hi Guys,
    I'm googleing last two days for subjected powershell script but no luck.
    could you please help me to write a PS to find :\ in INI file!
    Thanks in advance
    Er Reddy

    Select-String file.ini -pattern '\:\\'
    ¯\_(ツ)_/¯
    or 
    Select-String file.ini -pattern ':\' -SimpleMatch
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • Uploading file with special character like ( # , $ or any other special ch)

    Hi All,
    This perform statements then uploads the file from UNIX. Because of the special character in the file this  program fails.
    Please let me resulation as soon as possible .
    Thanks,
    Madhav

    Hi
    Good
    Check the below sdn post on special character.
    https://forums.sdn.sap.com/profile.jspa?userID=3649609
    Thanks
    mrutyun^

  • Problem with the special character '&'

    Hi,
    I am facing problem with special character '&' in report files. When I run the report locally(report builder), i am getting the data printed with '&' correctly. But if I execute same report thr' the application, via application server, I am getting the data printed with "&:". It is not displaying &. Please suggest me how to overcome this problem.
    'ADP & Liablility' is printed as 'ADP &: Liablility' in the web. We are not sending any value thr' the url. This is just a report title. Taking the value from the database and printing it.
    Appreciate the quick response.
    Thanks and Regards,
    A.K.Malathi

    Moderator: Off topic. This forum is for Java Collections API questions. Locking.

  • Receiver file adapter error for special char.

    I am using MTB in my receiver file adapter. I am getting a special character from source system at end of the string. How to resolve this type of error u2013 please advice.
    This error is not coming for every message.
    Error message:
    Column value xxxx   too long - must stop, probably configuration error in file adapter
    Thanks
    Vick

    Hi,
    Itu2019s basically IDOC to file scenario.
    This error is coming for name field.
    What I am thinking at this stage to do changes in MTB by define parameters like (NameA.enclosureConversion)

  • File Adapter - special character in Filename

    Hi,
    i have a question concerning file adapter.
    Scenario: we are polling files via file sender adapter (FTP).
    Problem: if the filename contains a special character, an error is thrown with 'The System cannot find the file specified'
    Scope: Special character in filename (not in payload)
    Installed: XI 3.0 SP 19 on Linux
    Questions:
    - what FTP implementation does XI use?
    - What do i have to check/upgrade to unicode?
    - is it an OS problem or an Java problem or a XI problem?
    - or is it not possible copiing files with special characters in filename?
    Thank you very much in advance.
    Michael

    Hi Michael,
    The file/FTP adapter supports both passive and active FTP data connection. You can select the data connection while configuring the adapter.
    The file/FTP adapter follows specification RFC 959. The specification can be found on the Internet under  www.ietf.org/rfc/rfc0959.txt.
    For FAQs about the file/FTP adapter, see SAP Note 821267. Please note that you'll need an account to log in on service.sap.com.
    Question: How are you specifiying the file name? i.e. Are you using placeholders, like ?, *, *.txt, etc ?
    If there's a problem with the filenames, then it should be a problem in the JAVA implementation of the adapter I assume. So you could for instance build your own adapter extension to by-pass that problem.
    Just for your information; I haven't encounter a problem with filenames in other projects.
    Good luck!

  • Need to prevent special character in generated XML file

    Hello,
    I am using E-business Suite 12.1.3 and XML version 5.6.3.
    My XML file is ending up with a special character (a Latin capital letter U with circumflex) at the end, after the final closing tag.
    Due to this the concurrent program that needs to output the XML is ending with warning.
    My XML file is produced using a PL/SQL procedure, as follows (I've simplified it):
    FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<?xml version="1.0" encoding="UTF-8" ?>');
    FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<DOCS>');
    FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<LETTER>');
    FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'<EMP_NAME>Michaela Hart</EMP_NAME>');
    FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'</LETTER>');
    FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'</DOCS>');
    But when I run the concurrent request that creates the output then try to view the output in Internet Explorer I get the following error:
    Invalid at the top level of the document. Error processing resource 'http://servername.domain...
    </DOCS>
    If I view the source of the page in Internet Explorer it shows a square after </DOCS> indicating the special character that has been added.
    I checked this by looking at the output file in unix (cat -v o7766582.req) and it showed up the Latin U character.
    I realise it could be to do with the character set I am using. I checked what we had on the server:
    > echo $NLS_LANG
    American_America.UTF8
    I would have thought that corresponded with the XML declaration character set but I'm not sure.
    Does anyone have any other ideas about why I have this special character, and how it could be removed?
    Thanks in advance,
    Hazel

    Hi AlexAnd,
    thanks very much for your reply.
    I'm now unable to recreate the problem since dbms_xmlgen worked. If I switch back to my previous method it works fine!
    I'm not sure your suggestion would help, as there were no special characters in the data, the special character was added after the last tag I output. I hard coded the data (as in my example) for testing purposes so there was no SQL in use and the special character was still added at the end of the XML output. But I will definitely give it a try if I get the problem again.
    I had the idea that maybe I should have been using FND_FILE.PUT rather than FND_FILE.PUT_LINE but now the error is gone I can't tell if that would have solved the problem either.
    I appreciate your input.
    Regards
    Hazel

  • Special character in title property of file in KM

    Hi Friends,
    In KM, I have uploaded some german,spanish files. When I set title with special character It shows square characters. If I write unicode, I displays unicode as it is..
    So Can anybody help me in this case?

    Hi 
    Refer this link
    http://social.technet.microsoft.com/Forums/office/en-US/6e7a7eae-26fc-467f-bfdc-7c5d5ff49a95/discussion-forum-storing-special-character-in-title-differently?forum=sharepointdevelopmentlegacy
    It seems that SharePoint will allow the Title of the discussion board to remain with the special characters, but the actual URL will not be allowed and will strip them from the final URL.  SharePoint Manager easily shows this, btw.
    So, there are probably many different ways to get what you are looking for, but one way could be to have a Linq query look for all Discussion Boards on a given site and then return the Title and the DefaultViewUrl, which the latter could then be prefixed by
    the SPWeb.Url to give you something like "Testing? , /" for the title and http://mysite/Lists/Testing/AllItems.aspx (assuming
    that is the actual default view) which you could then use as the final URL for your hyperlink in your web part.
    In the code snippet below you can see the Linq query (which I assumed from your post that you need to query to find the Discussion Boards) and a simple DataTable that you could then use to populate a repeater or you just omit the DataTable and
    enumerate the results from the query yourself:
    var linqResults
    = from list in oSPWeb.Lists.Cast<SPList>() where list.BaseTemplate
    == SPListTemplateType.DiscussionBoardselect list;
    DataTable oDataTable
    = new DataTable();
    DataColumn oDataColumn_Title
    = new DataColumn("Title", typeof(string));
    oDataTable.Columns.Add(oDataColumn_Title);
    DataColumn oDataColumn_URL
    = new DataColumn("URL", typeof(string));
    oDataTable.Columns.Add(oDataColumn_URL);
    foreach (SPList oSPList in linqResults)
    DataRow oDataRow
    = oDataTable.NewRow();
    oDataRow[
    "Title"]
    = oSPList.Title.ToString();
    oDataRow[
    "URL"]
    = oSPWeb.Url + oSPList.DefaultViewUrl.ToString();
    oDataTable.Rows.Add(oDataRow);
    oDataTable.AcceptChanges();
    Please remember to click 'Mark as Answer' on the answer if it helps you

Maybe you are looking for

  • My hard drive is no longer listed in my disk utility

    I had to reinstall my OS X on my 2010 MacBook Pro after booting to a white screen that had a "?" in a folder flashing. I had to install on off an external hd because the computer wasn't recognizing my internal hd (factory installed). Once I was able

  • Problems editing playlists

    I have created a playlist but now cannot edit the order as the 'click & drag/drop' wont work. Any suggestions?

  • Capture now doesn´t respect tc

    Why when I capture through of capture now with firewire doesn´t respect the tc of my camera? Thanks a lot.

  • Xellerate setup with JBOSS

    I'm using JBOSS for the application server and in the Xellerate install guide it states that you need to configure JBOSS for Xellerate but does not give any detail. What configuration changes in JBOSS are needed?

  • Confirmation-CO11N

    Hi, There is no drilldown function for selecting  operation/acivity when I execute CO11N afeter entering order number. My settings in Control key-OPJ8 confirmation possible but not neccessary Parameters for confirmation-OPK4 Operation sequence-Operti