RE: ASCII(13) is converted to ASCII(10) ... still??

  •  03-15-2007, 12:51 PM

    RE: ASCII(13) is converted to ASCII(10) ... still??

    The SDK, Remote Server, and much of OnTime web are implemented as web services, which work by serializing all transmitted data into XML documents. The XML 1.0 and 1.1 specs mandate that all line-endings be normalized to line feeds during document creation, so as a result, any string data transmitted through a web service will have all carrige returns stripped out.

    Because this behavior is so integral to the way web services work, finding a practical workaround to this issue hasn't been trivial.

    Long-term, we are still researching a solution to implement product-wide. But short-term, the most practical workaround appears to be to manually renormalize the line endings back to CR+LF where necessary for display purposes (i.e. when putting the text into a plain textbox).

    Adam Merz
    Axosoft
    Development Team
    Axosoft
    Filed under: , ,
View Complete Thread

© 2002 - 2007, Axosoft, LLC. All Rights Reserved. | Privacy
Bug Tracking | Defect Tracking Videos | Help Desk Software