|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
text format for notecardsDoes anybody know what the file format is for notecards - the text formatting. I have some text i'm auto-generating for people, and when i copy it it loses all the line returns.
I need those, so i'm wondering if i can change the format - to match what the notecard expects. Thanks in advance, Allen _______________________________________________ Click here to unsubscribe or manage your list subscription: https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters |
|
|
Re: text format for notecardsWell, there aren't many options.
A random page from Google says: Windows: CR LF Unix: LF Mac: CR Where "CR" is Carriage Return, and "LF" is Line Feed. So, my guess is you're using CR, and SL's using LF. In PHP I'd use something like \n or \r to represent one or the other -- can't remember which. But you'll have to look up the way to call each one in whatever editor or language you're using. Supplying more info may let someone who's familiar with whatever method you're using to generate text give you application specific help, if you need it. Good luck! -Stickman On Mon, Oct 12, 2009 at 6:50 PM, Allen Partridge <virtuallyhuman@...> wrote: > Does anybody know what the file format is for notecards - the text > formatting. I have some text i'm auto-generating for people, and when i copy > it it loses all the line returns. > > I need those, so i'm wondering if i can change the format - to match what > the notecard expects. > > Thanks in advance, > > Allen > > _______________________________________________ > Click here to unsubscribe or manage your list subscription: > https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters > > Click here to unsubscribe or manage your list subscription: https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters |
|
|
Re: text format for notecards\n is New Line (Line Feed, LF)
\r is Carriage Return (CR) To be pedantic, an LF moves the paper feed up one line (down one line on a display) and a CR move the carriage back to the start of the line (to cursor position 0 on a display). CR LF will feed the paper while moving the carriage. Ken and Dennis, with UNIX, decided to just use LF to mean CR/LF and save the byte. (Or they were already using this from MULTICS or some sort). Kubota On Oct 12, 2009, at 11:59 PM, Stickman wrote: > Well, there aren't many options. > > A random page from Google says: > > Windows: CR LF > Unix: LF > Mac: CR > > Where "CR" is Carriage Return, and "LF" is Line Feed. > > So, my guess is you're using CR, and SL's using LF. > > In PHP I'd use something like \n or \r to represent one or the other > -- can't remember which. But you'll have to look up the way to call > each one in whatever editor or language you're using. Supplying more > info may let someone who's familiar with whatever method you're using > to generate text give you application specific help, if you need it. > > Good luck! > > -Stickman > > On Mon, Oct 12, 2009 at 6:50 PM, Allen Partridge > <virtuallyhuman@...> wrote: >> Does anybody know what the file format is for notecards - the text >> formatting. I have some text i'm auto-generating for people, and >> when i copy >> it it loses all the line returns. >> >> I need those, so i'm wondering if i can change the format - to >> match what >> the notecard expects. >> >> Thanks in advance, >> >> Allen >> >> _______________________________________________ >> Click here to unsubscribe or manage your list subscription: >> https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters >> >> > _______________________________________________ > Click here to unsubscribe or manage your list subscription: > https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters _______________________________________________ Click here to unsubscribe or manage your list subscription: https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters |
|
|
Re: text format for notecardsI'm 99% sure it takes a \n as a new line and \n\n\n as EOF.
El. On 13 Oct 2009, at 02:50, Allen Partridge wrote: > Does anybody know what the file format is for notecards - the text > formatting. I have some text i'm auto-generating for people, and > when i copy it it loses all the line returns. > > I need those, so i'm wondering if i can change the format - to match > what the notecard expects. > > Thanks in advance, > > Allen > _______________________________________________ > Click here to unsubscribe or manage your list subscription: > https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters http://educationaldesigns.eloisepasteur.net/ http://eloisepasteur.net/blog/ SL Education collaboration forum: http://forum.eloisepasteur.net/ _______________________________________________ Click here to unsubscribe or manage your list subscription: https://lists.secondlife.com/cgi-bin/mailman/listinfo/secondlifescripters |
| Free embeddable forum powered by Nabble | Forum Help |