realbasic-nug
[Top] [All Lists]

EndOfLine Windows v. OS X

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: EndOfLine Windows v. OS X
From: David Glass <dglass at graymattercomputing dot com>
Date: Fri, 30 May 2008 19:52:11 -0700
Authentication-results: mx.google.com; spf=pass (google.com: domain of realbasic-nug-bounces at lists dot realsoftware dot com designates 66.116.103.65 as permitted sender) smtp dot mail=realbasic-nug-bounces at lists dot realsoftware dot com
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
I have a database front end that is behaving differently on Windows  
and OS X with respect to EndOfLine, hopefully somebody here has some  
ideas.

Editfield text is run through a method that replaces all the  
EndOfLines with a unique delimiter (*EndOfLine*):

strSafeString = ReplaceAll(strFieldValue, EndOfLine, "*EndOfLine*")

When the text is displayed in the front end the reverse is done so  
that the delimiter is replaced with EndOfLines and the text is  
displayed properly.

On OS X this works properly, but in the Windows version the  
EndOfLines are not replaced, and the text goes into the database with  
the EndOfLines rather than the delimiters.

Building on OS X 10.4.11 with 7r3, deploying to OS X (10.4.x -  
10.5.x) and Windows XP.

Any ideas welcome.

-- 
David Glass - Gray Matter Computing
graymattercomputing.com
559-303-4915


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>