Strange character in place of carriage return.

The carriage returns look fine when viewing the file on my local drive (publish to folder). Then I upload the folder to an ftp site, and see ?? where the carriage returns are. Any ideas?
www.nebodyandpaint.com
I'm viewing with Safari v2.0.3.
  Mac OS X (10.4.5)  

You have the wrong settings on your ftp program. See this note:
http://homepage.mac.com/thgewecke/iwebchars.html

Similar Messages

  • Place a carriage return in the field separator of an iChart

    In the Data Mapping of an iChart, the Field Separator is a good tool to obviously separate data.  The problem I see is the two fields and the separator are on one line.  How can I place a carriage return to place the two fields on separator lines?

    Hi,
    This is not possible to do; however, perhaps it could be entered as a feature request for a later version.
    Diana Hoppe

  • Character # is converted to carriage return in proxy call. Please help!

    Hi Experts,
       I have a variable of type string with value: #VSSOO01. In my ABAP code I am sending this value to XI via Proxy. When I check the value that XI has received, it shows as Carriage Return and VSSOO01. In other words # is replaced by carriage return.
    I also checked the message payload sent my proxy in the source system and also it has replaced # by carrige return.
    I have checked the variable value via ABAP debugger before and after assigning to Proxy parameter and it shows correctly.
    I want it should send as it is #VSSOO01.
    How to fix this issue?
    Please help
    Thanks & Regards
    Gopal

    Please use the attribute CR_LF from class CL_ABAP_CHAR_UTILITIES in your program. For eg.
    REPLACE all occurences of CL_ABAP_CHAR_UTILITIES=> CR_LF in lv_string with '#'  in character mode.
    Regards
    Ranganath

  • Strange sqlloader loader issue with carriage return in Unix

    Oracle 10g
    Solaris
    Hi All, I'm having issues in running some data into a table via sqlloader. The data was extracted using concatanated SQL with a | delimiter. sql script was executed in the shell to produce the data file.
    eg
    a,b,c|
    d,e,f|
    The control file specifies a string terminator as "str '|\n'" but when i run the sqlloadr command on the unix box I states that
    no terminator found after TERMINATED and ENCLOSED field.
    Ive tried it with \n\r same sort of issue.
    The strange scneario i encountered was when I just specified "str '|'" as I read unix would default to \n, the weird thig was that my 6 records DID load into the table succesfully but a bad file was produced with a | character in it and the log file specfied that it tried to load 7 records where 6 were succesfull and 1 failed even though I only had 6 record to play with in the 1dst place.
    Any ideas / thoughts greatly appreciated?!
    Kind regards
    Satnam

    Hi All,
    Ive updated the problem..with some output... essentially Ive get it to a situation wher I load ALL my records into the table but I still get a bad file with a "|" record issue and the log file still syas that Im trying to load 7 record when I only have the 6 records.
    ...............SQL statment...
    set trimpspool on
    set feedback off
    set heading off
    set linesize 500
    set pagesize 0
    spool loaddata_FP.lst
    SELECT '"'||spart.x_lsm_region||'"'||','||
    '"'||spart.x_sub_type||'"'||','||
    '"'||spart.x_origin_type||'"' ||'|'
    FROM siebel.cx_ls_part_ship spart;
    spool off
    -- sample of control file
    load data infile 'loaddata_FP.lst' "str '|'"
    into table siebel_data_fp fields terminated by "," optionally enclosed by '"'
    (x_lsm_region,
    x_sub_type,
    x_cust_face_staff,
    x_nature_partner,
    x_origin_type)
    --sample log file with error why is it telling me I have 7 records when I am processing 6?
    value used for ROWS parameter changed from 64 to 22
    Record 7: Rejected - Error on table SIEBEL_DATA_FP, column X_SUB_TYPE.
    Column not found before end of logical record (use TRAILING NULLCOLS)
    Table SIEBEL_DATA_FP:
    6 Rows successfully loaded.
    1 Row not loaded due to data errors.
    0 Rows not loaded because all WHEN clauses were failed.
    0 Rows not loaded because all fields were null.
    --- sample bad file showing the pipe ... whay is sqlloader trying to process this pipe when its part of the record...
    /u01/oracle/admin/adhoc/xxxl(TESTxx)$
    /u01/oracle/admin/adhoc/xxx(TESTxx)$ vi FCT_PARTNERSHIP_ldrcontrol.bad
    "FCT_PARTNERSHIP_ldrcontrol.bad" [Incomplete last line] 2 lines, 213 characters
    |
    ~
    ~
    ~
    any help appreciated!
    Edited by: spliffer on 04-May-2010 05:06

  • Outputting XML carriage return in HTML via XSLT

    Hi,
    I have a scenario where I execute a View Object query in ADF to retrieve results from a particular table in the Database. I then iterate through the results in my Java managed bean and manually construct an XML file with all the appropriate tags. I then pass the XML file through a Transformer class in the Java bean based on an XSLT I have created to produce an HTML page. However I have an issue when it comes to handling carriage returns. One of the database table columns can contain carriage returns within its value but in the final HTML page the carriage returns don't have any effect and the text just displays on one line.
    In the database, the values are stored with the carriage return and in SQL Developer, Toad etc this can be seen e.g. Text1 Text2 Text3 Text4 will display on separate lines. In the XML, the carriage return seems to still be there as when I open the file my element which contains the carriage returns shows each part on a new line e.g. <textElement>Text1
                                                           Text2
                                                           Text3
                                                           Text4</textElement>     (The Text2, Text3 and Text4 all start on a new line at the beginning and there's no prior white space as shown in this post)
    The XML file in JDeveloper also shows carriage return arrow symbols where there is one.
    The HTML page just shows them as Text1 Text2 Text3 Text4 all on one line. Inspecting the source of the HTML shows that the carriage return is in fact there as it also displays as per the XML with the values on separate lines.
    Outputting the value from the View Object in Java to the log shows the value coming out like this - Text1 Text2Text3Text4, which is strange but I know the carriage returns are there so I'm not too fussed about this.
    I have tried escaping the characters in the Java by doing str.replaceAll("[\\r\\n]", ""); (but replacing the "" with &#xD; &#xA; or &x0A;) so in the XML it replaces carriage returns and line feeds with these escaped characters. However, when the XSLT parses the XML it doesn't pick these up and instead actually outputs these actual characters as they are e.g. Text1&x0A;Text2&x0A;Text3&x0A;Text4
    So I can confirm that the carriage return is carrying all the way through to the XSL but I can't help but think that maybe I need to do something in the XSL to process this somehow, e.g. doing the equivalent of the 'replace' in Java but I don't know what I need to search for in the XML and also what to actually replace it with..Do I just replace it with a </BR> in HTML?
    We also parse the XML using PDF and Excel XSL Transformer class and see the same results.
    Any help would be appreciated.
    Thanks

    That's a very commonly asked question.
    HTML doesn't preserve linefeeds, except for the <pre> tag.
    You'll have to replace those characters with <BR/> tags in the XSLT.
    Search the Internet for terms like "XSLT HTML LF", you'll find some XSLT sample templates to handle the replacement.

  • Invalid column name - fixed by inserting a carriage return - Why?

    I'm writing some JSP pages and am executing a statement that retrieves values from three tables.
    When executing the statement I receive the error
    java.sql.SQLException: Invalid column name
    I just want to state here that ALL the column names are definitely correct. I attempted to isolate the problem using my SQL*Plus Interface.
    When copying and pasting the SQL that was used (I put the SQL statement into the HTML to allow me to do this) into SQL*Plus it also come up with the error. I found that if I broke up the statement it would run. Specifically if I placed a carriage return (by hitting enter) prior to the 'A' of the AND operator and then copied and pasted into SQL*Plus it would work!
    I thought the problem was related to bad syntax in the outer join operator. But removal of the outer join operator and making it a EQUI JOIN situation still gave the same results. I tried the use of brackets to 'help' the DB engine figure it out - silly I know, but it didn't work anyway :(
    I've tried this out on UNIX in SQL*Plus where the query was on one line and it worked fine. I've tried it on Oracle 8.1.5 SQL*Plus & Oracle 8.1.7 SQL*Plus on Win2000 and WinNT and no go.
    It has also been tested on an Oracle 7.3.4 DB and no go either.
    Remember I'm only using SQL*Plus to find out why it is not working - I'm actually attempting to execute this via JDBC (classes12.zip Oracle9 version) in my JavaBean. I can't place a carriage return to 'fix' the problem, and I'm assuming that I shouldn't either.
    I've pasted the SQL below (both non-working and working versions). I was going to paste the output of DESC on the associated tables should you too would rule out a mispelled column name, but I didn't want to put anyone off with a long post.
    If you can provide any advice I would be very appreciative.
    Darren James
    Show Me Technology
    SQL> SELECT UNIT.Asset_Number,Model,PERSON.Novell_User_Name FROM
    UNIT, UNIT_USERS, PERSON
    2 WHERE UNIT.Hardware_Reference_Number =
    UNIT_USERS.Hardware_Reference_Number(+) AND UNIT_USERS
    .Novell_User_Name = PERSON.Novell_User_Name (+) ORDER BY Make,
    Model, Asset_Number,Serial_Number,
    UNIT.Hardware_Reference_Number,Unit_Type,PERSON.Last_Name,PERSON.Fi
    rst_Name,PERSON.Novell_User_Name;
    3 /
    WHERE UNIT.Hardware_Reference_Number =
    UNIT_USERS.Hardware_Reference_Number(+) AND UNIT_USERS.Novel
    ERROR at line 2:
    ORA-00904: invalid column name
    REM -- Using the one with an return prior to the AND
    SQL> SELECT UNIT.Asset_Number,Model,PERSON.Novell_User_Name FROM
    UNIT, UNIT_USERS, PERSON
    2 WHERE UNIT.Hardware_Reference_Number =
    UNIT_USERS.Hardware_Reference_Number(+)
    3 AND UNIT_USERS.Novell_User_Name = PERSON.Novell_User_Name
    (+) ORDER BY Make, Model,
    4 Asset_Number,Serial_Number,
    5
    UNIT.Hardware_Reference_Number,Unit_Type,PERSON.Last_Name,PERSON.Fi
    rst_Name,PERSON.Novell_User_
    Name;
    ASSET_NUMBER
    MODEL
    NOVELL_USE
    10023445
    desktop raider
    tabisho
    10023445
    desktop raider
    pjblee
    100349864
    VEi8
    SQL>

    Ok. I feel ashamed that the answer was so simple and not the
    problem I thought it was. But in the interests of perhaps
    preventing someone else doing the same silly thing....
    The error was caused by using a wrong name when 'getting' the
    values int the return ResultSet object. (eg using getString
    ("s.Some_Name") when it should have been getString
    ("s.Another_Name").
    Interestingly the error did occur in one of our SQL*Plus
    versions. Why we still are not sure, but since this was a silly
    error on my part, I'm sure a similarly silly reason will be the
    cause there two.
    I appreciate those who responded though. It is a great resource.
    Darren James
    I'm just guessing here, but could it be some sort of a size thing? Could it be that, if you don't break up line 2, somehow
    it gets truncated or wrapped at an inappropriate place? To test
    this theory, you might try putting the carriage return in front
    of the ORDER BY, instead of in front of the AND, and see if it
    has the same effect. If you do get it figured out, please
    satisfy our curiosity and let us know.

  • How to supress carriage return in File?

    Hi
    I am getting a file which is very large. When i am processing the large file, file adapter is picking but i dont see any message in SXMB_MONI. Each record in my file should be in same line, But some of the fields like "address2" in the records have carriage return so when ever this address2 has data this record splits into two lines.
    Ex:
    Name, ID, Address1, Address2, City, State, Country..
    Name, ID, Address1, Address2, City, State, Country..
    Name, ID, Address1, Address2, City, State, Country..
    Name, ID, Address1,Address2,
    City, Country....* like this....
    think because of this my file is not processing. Because I checked individually this type of records I am getting the errors.
    But if i am processing as whole file XI is picking up but its not showing anything in SXMB_MONI.
    How to remove the carriage return if i get the records like this.
    Thanks & Regards
    Sowmya...

    Hi,
    Even if you have any errors in the file data, it should not stop XI from picking up the file. In this case, the file should be processed and you should find errors in SXMB_MONI. When you said compressed what did you do? Did you make a shorter file out of the large one? In that case, check if the file name and directory are exactly configured (case sensitive). Check the adapter monitoring if you find any red light.
    Coming to the data problem, unless you file end character is different from carriage return, I do not think XI would be able to parse the file properly. You might want to request you file generating application to suppress the carriage return in any of the data fields or at least the record delimiter.
    VJ

  • Removing Carriage Returns

    I have a table with a field that contains data such as this,
    and I want to remove all of the carriage returns but I am having
    difficultiy. I have tried replacing the chr(13) and the chr(10) but
    no such luck. Can anyone help? Thanks!
    ==== start of code block ====
    Part Number: 1307 G9<BR>
    Finish Family:
    CHROMES<BR>
    Finish/Color:
    STERLING NICKEL<BR>
    Dimensions:
    1 1/4 INCH DIAMETER<BR>
    Collection:
    BRASS &amp; STERLING TRADITIONS<BR>
    ==== end of code block====

    Hi,
    For me both database as well as coldfusion worked fine. You
    may also please try with small example.
    Method 1:
    At database side
    select
    replace(columnname,chr(13)||chr(10),' ') as columnname
    from <tablename>
    Method 2: Coldfusion
    <cfset pageContent = reReplace(pageContent,
    chr(10)&chr(13),"", "all" )>
    I noticed that the regular expression functions in CF support
    the newline character \n Chr(10), carriage return \r Chr(13), and
    tab \t Chr(9).
    <cfsavecontent variable="data">
    here is my
    break
    </cfsavecontent>
    <cfoutput>#ReReplace(data, "\n", "<br />",
    "ALL")#</cfoutput>
    Method 3: Coldfusion.
    Please go through the below article. Example is mentioned
    http://livedocs.macromedia.com/coldfusion/6/CFML_Reference/functions-pt248.htm
    Hope this helps. Please try it out.
    Satheesh.

  • What is escape character for for Carriage Return, Line Feed, Form Feed

    Hi
    I need to a text file which should have following characters
    Carriage Return, Line Feed, Form Feed
    How do i insert them in a string
    i know "\f" is carriage return,
    but what are characters for line feed and form feed
    Ashish

    uncle_alice wrote:
    jverd wrote:
    remus.dragos wrote:
    I forgot that it does not exist in Java. A good thing
    from my point of view.Running the following makes my computer beep.
    public class Bell {
    public static void main(String... args) {
    System.out.println("\u0007");
    Sure, sending a BEL character to the console rings the bell, but that has nothing to do with Java. Anyway, I think he meant Java doesn't support the \a escape sequence in string and char literals.
    >
    >
    >I forgot that it does not exist in Java. A good thing
    from my point of view.
    Running the following makes my computer beep.
    public class Bell {
    public static void main(String... args) {
    System.out.println("\u0007");
    } Sure, sending a BEL character to the console rings the bell, but that has nothing to do with Java. Anyway, I think he meant Java doesn't support the \a escape sequence in string and char literals.
    Ah, I thought he was saying Java doesn't support ringing the bell.

  • Handling Special character "Carriage Return" in PI

    Hi Experts,
    I have a scenario where JMs adapter is my source and is sending data which is of Fixed length.
    My problem is when JMS is sending the data in any of the incoming fields its passing a carriage return(0D- Hexadecimal character).
    When this character is coming the record is getting breaked into two or failing in my channel.
    Please guide me in handling this issue and to remove this character from the record.

    Hi,
    U can handle this issue by ant of these...
    1. U can ask the third party sending messages in JMS to replace the carriage return character by none or empty.. when they are sending it to the messaging system.
    But i dont think so they are ready to do it....
    2.No problem. U can handle this in the mapping itself.
    When the record is breaking because of carriage return, u will receive a new record.
    In UDF check the length of each record. If it is less than the Fixed Length we are expecting then combine these 2 records into one.
    Still less than the Fixed length append 3rd one also.. so on.
    U can go for one extra graphical mapping for this.
    And then other mapping which u will use noramally.
    in Operation Mapping specify them in sequence.
    Babu

  • Carriage Return/Linefeed Character Removal  for a CLOB variable

    Hi,
    Can anyone let me know how I can remove the carriage return from a CLOB variable.
    I tried the replace function
    REPLACE(D_MessageText, CHR(10)), it doesn't give any error,but the output still has the new line character.
    Any help would be really appreciated.
    Regards,
    Anil.

    chr(10) takes care of LINEFEED
    chr(13) takes care of CARRIAGE RETURN

  • Possible to add the Carriage Return Character

    Hi all,
    I need to add the Carriage Return characters at the end of the each paragraphs.  I found the insertTextAsContent (using: {String | SpecialCharacters} , position: XMLElementPosition), but don't know how to use this function. I think in this method accept only the position as XML Element Object.
    How to use this function to achieve my task?.
    Using: InDesign CS4/Javascript/Windows.
    Regards,
    Karpanai

    you could do: string += "\r";
    \r is a carriage return, and \n is a newline

  • Write to spreadsheet adds carriage return

    I am using build array function to put together a number of strings and build an array of strings.  The build array is in a while loop.  A new line is added to the array every loop.  I am using write to spread sheet function to save the spreadsheet to a file with xls extension.  For some reason, a carriage return is inserted within the array.  The array has 9 columns and a carriage return is put after the fourth column.  I have not added this carriage return.  Does anyone know why write to spreadsheet might automatically add a carriage return and how to remove it?  
    Thank you!
    Solved!
    Go to Solution.

    Hi,
    I took your posted VI and compiled it to an exe.  I do not see the carriage return problem you are describing?
    If you compile the VI you attached, do you see the problem or is it only in the original main application (that you cannot share)?
    If the compiled exe works on your PC, does it also work on the 'different' computer where you see the issue with your original code?  
    -If it does work, then the issue must be in the source code for your original code.  Sometimes, if you re-size string constants, for example, it can be hard to see carriage return's.
    Another thing it could be perhaps, is if you are calling the "write spreadsheet" in two different places in your main code, then the way it works is it will write your two (different) input arrays to separate lines.  If it is as in your example VI though, there should be no carriage return in the "middle" of the array.
    For debug purposes, you could consider making a VI that takes a 1D string array input, iterates over each element in the array and searches for the carriage return character and gives an error/message on what iteration it found it, then you can back-track from there to see in the code responsible for making the string that went into that index.
    QFang
    CLD LabVIEW 7.1 to 2013

  • Importing XML Text files with Indesign friendly 'Carriage Returns'

    Hi,
    I have a question wrt importing XML into Indesign.  I have my text stored in Excel (Fig A) and intend to export as an XML file where each line will represent each page.  However, my first attempt failed to treat the 'carriage returns' as I'd envisaged:
    The 'carriage returns' used within an Excel cell (ALT-ENTER) are maintained when transforming to a CSV file (Fig B).  However, when converting to an XML file, the conversion only takes place on a line by line basis and hence the XML file becomes incomplete (Fig C).
    So, it appears I need to make sure that the CSV file contains one line per entry, while also maintaining the actual carriage returns in my source spreadsheet and for Indesign to recognise them.  In order to do this, I'll need to substitute the 'carriage returns' in my excel column to be represented by a new set of characters.  My question is how can I let Indesign know to recognise this set of characters to be converted to a carriage return, when importing text.
    For example, if this set of characters was '%%%%%%', then my new csv file would look like Figure D and the XML would be produced correctly, like Figure E.  Then importing this XML file to InDesign, the carriage returns would automatically be reinstated, hopefully.
    I hope someone can help me as I am only starting out in Indesign and feel Im running before I can walk by venturing into the XML/Indesign arena too soon.
    Best Regards
    Luke

    Hi,
    Thanks for all the responses.
    With regard to XML, it could well be an issue has crept in because I am using another utility to convert my csv's to xml and maybe there are better options out there. I will take a look for other utilities and try that (Its not possible from Excel easily, even though there is an option to save as an XML file).
    Secondly, because the XML was readable by internet explorer, I assumed it had a satisfactory standard XML format which would be accepted by any program, including InDesign.  This proved true, since the XML file i generated was actually recognised by my Indesign document and populated the tags correctly, albeit without any carriage returns. 
    When I save my excel sheet as a csv, it does actually hold the carriage returns causing multiple lines per entry, hence why I need to substitute the actual carriage returns in my excel sheet to a alternative character set so that the entry remains on one line.
    Re: Double quotes on text fields.  Im sorry, I didnt realise I had commas in my sample csv example.
    I should have corrected it, but I intend on using semi-colons as my csv delimiter and don't intend on having semi-colons in my excel sheet itself, so I possibly won't need any double-quotes.
    So, it looks like this is what I need to do ;
    i)   Add a column in Excel which substitutes all the carriage returns with a line break identifier (^n).
    ii)  Convert Excel file to a semi-colon csv holding this new column,
    iii) Convert csv file to XML using a good CSV->XML utility,
    iv)  Add the respective XML tags to my INDD document,
    v)   Add a GREP rule which does a find/replace on all instances of ^n and replace with a line break,
    vi)  Import the XML file,
    vii) Apply the find/replace GREP rule on the whole document. Carriage returns on my text fields should be consistent with my original excel sheet.
    Thanks for all your help fellas.  Will report on how I get on once Im done.
    Best Regards
    L

  • Losing carriage returns in textarea / using plpdf to generate report

    Hello,
    I'm using Apex 3.1.1 and Oracle 10g database. I would appreciate any suggestions on how I can preserve carriage returns in a textarea when sending the text to a package that generates a report. Please see example of current problem (below code). I'm using an onkeypress function to check for keycode = 13 when the Enter key is pressed -- that is working. I also created an alert to show the url value -- I can see the text on multiple lines, so that appears to be working as well. The textarea value parameter in the package is defined as varchar2. Per the support folks at plpdf.com, chr(13) indicates an explicit line break, and they told me to check my text. I don't know what I'm missing. Thank you for any suggestions you may have.
    Lisa
      function callPLPDFRep()
          var url;
          url = '#OWNER#.' + $x('P&APP_PAGE_ID._REPORT_PROCEDURE').value + '?' + build_params();
          w = open(url, "winPDFRep", "Scrollbars=1, resizable=1, width=800, height=600");
          if (w.opener == null)
            w.opener = self;
            w.focus();
       function build_params()
        var lparms;
        lparms = '';
        lparms = lparms + '&p_incorrect=' + $x('P212_INCORRECT').value;
        lparms = lparms + '&p_correct=' + $x('P212_CORRECT').value;
        return lparms;
      }Text in textarea:
    035 5768 06/15/2010
    035 5768 06/16/2010
    035 5768 06/17/2010
    Printout on report:
    035 5768 06/15/2010035 5768 06/16/2010035 5768 06/17/2010

    Hello Michael,
    Thank you for your response. After doing some researching and experimenting, here's what I have found so far.
    First, using an onkeypress function to alert the keycode, a chr(13) is being returned when I press the Enter key in the textarea.
      function check_Enter(e)
        var keynum;
        var textval = $x('P212_INCORRECT').value;
        if(document.all) 
          keynum = e.keyCode
        else
          keynum = e.which
        alert(keynum);     
      }Next, when I access the value of the textarea via javascript with $x('P212_INCORRECT').value, the chr(13) is automatically converted to the newline character (\n). In an attempt to replace the \n with a \r so plpdf will recognize the carriage return, I added a javascript replace function before sending the text to the package, and it does not work.
      function build_params()
        var lparms;
        lparms = '';
        lparms = lparms + '&p_incorrect=' + $x('P212_INCORRECT').value;
        lparms = lparms + '&p_correct=' + $x('P212_CORRECT').value;
        alert(lparms.split(/\n/g).length - 1);  // confirm that a newline character is found
        lparms = lparms.replace( new RegExp( "\n", "g" ), "\r");  // replace newline character with carriage return
        return lparms;
      }When I tried to replace the newline character (\n) with chr(13), the chr(13) is printed out like it is text instead of a special character. In order to test that I have the correct syntax for the replace function in javascript, I tried replacing \n with '...', and then in the package that generates the PDF, I replaced the '...' with chr(13). That works!
    In response to your comment about the PLPDF procedure for multi line section, I am using: plpdf.PrintMultiLineCell(180, 6, l_incorrect, '0', 0). As a newbie to javascript, I am not sure why replacing \n with \r is not working. Can you advise how to use a chr(13) in the javascript replace function and have it recognized as a special character and not text? I don't know how to view special characters in the textarea other than checking for them with javascript.
    Thanks, Lisa

Maybe you are looking for