Re: Return Character Substitute

2002-04-10 Thread Sjoerd Op 't Land

Ray Horsley wrote/ schreef:

> Any suggestions on a good substitute for the return character.
What about urlEncode() -ing the input?

> Thanks,
> 
> 
> Ray Horsley
Regards, / Groeten,
Sjoerd

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Return Character Substitute

2002-04-08 Thread Karl Becker

>>Any suggestions on a good substitute for the return character.

If you're going to be outputting as HTML anyway, replacing all the 
cr's in a file with the text  "" will save you a step.  That's 
what I did for my latest project.

-- 
Karl Becker, KB Productions - http://www.karlbecker.com
Featuring:New Tricks, Tiger's Eye Pub, and The Fishin' Hole
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Return Character Substitute

2002-04-08 Thread Robert Brenstein

>on 4/8/02 12:05 PM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote:
>
>>  Ray,
>>
>>  I would suggest something non-printable. For example, the delete character.
>>  Try checking an ASCII table, then using things such as numToChar(9). If you
>>  use something non-printable and consistently defined, then you won't have to
>>  worry about your users typing it.
>>
>>  Regards,
>  > Brian
>  >
>Thanks Brian,
>
>Scott Rossi's suggestion of using formFeed works well with the only issue
>being that it does show up as a box on screen if, for example, users need to
>choose a line with a formFeed in it from a list of lines.
>
>I'll keep messing around with it.
>
>Ray
>

I am replacing returns, newlines, tabs, and a few other characters by 
using C-style escape codes

backslash - \\ # to preserve backslash
return - \r
newline - \n
tab - \t

This gives me full readability while allowing me to completely 
eliminate all control characters.

Robert
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Return Character Substitute

2002-04-08 Thread Ray Horsley

on 4/8/02 12:05 PM, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote:

> Ray,
> 
> I would suggest something non-printable. For example, the delete character.
> Try checking an ASCII table, then using things such as numToChar(9). If you
> use something non-printable and consistently defined, then you won't have to
> worry about your users typing it.
> 
> Regards,
> Brian
> ___
> metacard mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/metacard
> 
Thanks Brian,

Scott Rossi's suggestion of using formFeed works well with the only issue
being that it does show up as a box on screen if, for example, users need to
choose a line with a formFeed in it from a list of lines.

I'll keep messing around with it.

Ray

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Return Character Substitute

2002-04-08 Thread Yennie

Ray,

 I would suggest something non-printable. For example, the delete character. 
Try checking an ASCII table, then using things such as numToChar(9). If you 
use something non-printable and consistently defined, then you won't have to 
worry about your users typing it.

Regards,
Brian
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: Return Character Substitute

2002-04-08 Thread Scott Rossi


> Any suggestions on a good substitute for the return character.

I use formFeed.

Regards,

Scott Rossi
Creative Director, Tactile Media
[EMAIL PROTECTED]
http://www.tactilemedia.com

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Return Character Substitute

2002-04-08 Thread Ray Horsley

Any suggestions on a good substitute for the return character.  I just want
to store user input of mulitple lines into a single line, but then still be
able to retrieve it and put the return characters back where they were.  On
the Mac I've used option-returns, but I don't think this character exists on
other platforms.  I'd like to avoid characters which my users might also
input manually, like underscores.

Thanks,


Ray Horsley

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard