Re: Annoying character on writefile...

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 60187
interpreted = N
texte = >I get that character with nearly everything I write to file or even >to data base. I am not sure where it comes from, but it gets there >by itself, not from being added. Where does it appear in the file? In the middle somewhere? Or always at the beginning? Or always at the end? Sorry, I do not believe that webdna is doing ths without your help. No one else has ever complained about this -- you're the first -- yet WebDNA for OS X has been out for ages already ... and I don't think it is very likely that all the other webdna/osx users would have been able to ignore this issue if it were actually a bug. Of course I could be wrong about this, but I suspect your coding techniques far more than a possible bug. If you write code like this: [writefile] skg f,ksbdf blkvbsbgvbsdf vbsldfbls [/writefile] .... you're putting two of those characters in there yourself, one at the beginning and one at the end of the file. The proper way to code a writefile context is like this: [writefile]skg f,ksbdf blkvbsbgvbsdf vbsldfbls[/writefile] By the way, you also claim that these characters are being written to your database files, but I fail to understand how this can happen either. Please post some of your code to show us how these characters are they being written to your database files, then maybe we can figure out what's really going on ... Sincerely, Kenneth Grome www.kengrome.com >I never had the problem when I was on Mac OS 9, but under OS X, and >now Linux, I have it all the time. I suspect a connection. > >>If you don't want the character in there, all you have to do is >>make sure it does not appear in your writefile context. WebDNA >>only writes what you tell it to write, it does not add stray >>characters on its own ... >> >>Sincerely, >>Kenneth Grome >>www.kengrome.com >> >>>[grep search=[ ]&replace=][/grep] >>> >>>Is what I do, but I would love to find an answer to keeping the >>>character out of there in the first place. >>> >>>>Hi >>>> >>>>Does anyone know hwo to get rid of or conver the following >>>>character during a writefile ? I am trying to write database >>>>information to an xml document to feed a flash app but it is >>>>bugging out with this character, I have also run into >>>>difficulties with it before when generating an html mail by write >>>>a file after the mail has been created. >>>> >>>>Any suggestions are very welcome. >>>> >>>>Thanks >>>>Alan -- ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Annoying character on writefile... ( "Sal D'Anna" 2004)
  2. Re: Annoying character on writefile... ( Stephen Reiss 2004)
  3. Re: Annoying character on writefile... ( Kenneth Grome 2004)
  4. Re: Annoying character on writefile... ( "WebDna @ Inkblot Media" 2004)
  5. Re: Annoying character on writefile... ( Kenneth Grome 2004)
  6. Re: Annoying character on writefile... ( "WebDna @ Inkblot Media" 2004)
  7. Re: Annoying character on writefile... ( Kenneth Grome 2004)
  8. Re: Annoying character on writefile... ( Stephen Reiss 2004)
  9. Re: Annoying character on writefile... ( Kenneth Grome 2004)
  10. Re: Annoying character on writefile... ( matthew.bohne@benetela.com 2004)
  11. Re: Annoying character on writefile... ( Stephen Reiss 2004)
  12. Annoying character on writefile... ( Alan White 2004)
>I get that character with nearly everything I write to file or even >to data base. I am not sure where it comes from, but it gets there >by itself, not from being added. Where does it appear in the file? In the middle somewhere? Or always at the beginning? Or always at the end? Sorry, I do not believe that webdna is doing ths without your help. No one else has ever complained about this -- you're the first -- yet WebDNA for OS X has been out for ages already ... and I don't think it is very likely that all the other webdna/osx users would have been able to ignore this issue if it were actually a bug. Of course I could be wrong about this, but I suspect your coding techniques far more than a possible bug. If you write code like this: [writefile] skg f,ksbdf blkvbsbgvbsdf vbsldfbls [/writefile] .... you're putting two of those characters in there yourself, one at the beginning and one at the end of the file. The proper way to code a writefile context is like this: [writefile]skg f,ksbdf blkvbsbgvbsdf vbsldfbls[/writefile] By the way, you also claim that these characters are being written to your database files, but I fail to understand how this can happen either. Please post some of your code to show us how these characters are they being written to your database files, then maybe we can figure out what's really going on ... Sincerely, Kenneth Grome www.kengrome.com >I never had the problem when I was on Mac OS 9, but under OS X, and >now Linux, I have it all the time. I suspect a connection. > >>If you don't want the character in there, all you have to do is >>make sure it does not appear in your writefile context. WebDNA >>only writes what you tell it to write, it does not add stray >>characters on its own ... >> >>Sincerely, >>Kenneth Grome >>www.kengrome.com >> >>>[grep search=[ ]&replace=][/grep] >>> >>>Is what I do, but I would love to find an answer to keeping the >>>character out of there in the first place. >>> >>>>Hi >>>> >>>>Does anyone know hwo to get rid of or conver the following >>>>character during a writefile ? I am trying to write database >>>>information to an xml document to feed a flash app but it is >>>>bugging out with this character, I have also run into >>>>difficulties with it before when generating an html mail by write >>>>a file after the mail has been created. >>>> >>>>Any suggestions are very welcome. >>>> >>>>Thanks >>>>Alan -- ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Kenneth Grome

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Fwd: Problems with Webcatalog Plug-in (1997) [ShowNext] feature in 2.0 (1997) Building Calendars (1997) File Upload (2000) Emailer setup (1997) Stats (2004) why do I get authorization requests, even though (1999) WC2b15 File Corruption (1997) my price won't move (1997) Error.html (1997) writefile - continued (1997) Sorting alphabetical (2003) Simple counter - how? (1997) Item counting? (1998) Multiple Pulldowns (1997) X etc.... (1999) Nested tags count question (1997) Frames and cart values (1998) [WebDNA] thisAutonumber? (2011) carriage returns in data (1997)