Re: Null Characters

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 63414
interpreted = N
texte = Clint Davis wrote: > The following code returns a simple "1". None of the HTML after the [grep] > code is rendered. The ascii value of the character is: x00 > > [grep search=x00&replace=]107[/grep] > > I would be happy to post a sample file if it would help. WebCatalog only understands ASCII text files, which specifically prohibits embedded NUL characters. The best thing to do is to ask the client to fix their export so that they export text only. To quote your original message: > Unfortunately, the DB contains null characters between every > normal character. That means they are saving the file as UTF8 instead of ASCII text. If the client is unable to provide non-UTF8 files, you will have to use some other software to convert it (Perl comes to mind). If you are using Linux, it may be sufficient to switch to a non-UTF8 locale. HTH John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- 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: Filter Null Characters (Zap Gremlins) ( "Dan Strong" 2005)
  2. Filter Null Characters (Zap Gremlins) ( "Dan Strong" 2005)
  3. Re: Null Characters ( Clint Davis 2005)
  4. Re: Null Characters ( John Peacock 2005)
  5. Re: Null Characters ( Clint Davis 2005)
  6. Re: Null Characters ( John Peacock 2005)
  7. Re: Null Characters ( Clint Davis 2005)
  8. Re: Null Characters ( Gary Krockover 2005)
  9. Re: Null Characters ( "Tom Duke" 2005)
  10. Re: Null Characters ( Clint Davis 2005)
  11. Re: Null Characters ( Kenneth Grome 2005)
  12. Null Characters ( Clint Davis 2005)
  13. Re: null characters ( "Scott Anderson" 2004)
  14. null characters ( Karl Schroll 2004)
Clint Davis wrote: > The following code returns a simple "1". None of the HTML after the [grep] > code is rendered. The ascii value of the character is: x00 > > [grep search=x00&replace=]107[/grep] > > I would be happy to post a sample file if it would help. WebCatalog only understands ASCII text files, which specifically prohibits embedded NUL characters. The best thing to do is to ask the client to fix their export so that they export text only. To quote your original message: > Unfortunately, the DB contains null characters between every > normal character. That means they are saving the file as UTF8 instead of ASCII text. If the client is unable to provide non-UTF8 files, you will have to use some other software to convert it (Perl comes to mind). If you are using Linux, it may be sufficient to switch to a non-UTF8 locale. HTH John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- 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/ John Peacock

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:

Emailer error codes (1999) Use of Back and Reload Buttons on ShoppingCart page? (1997) how to add to triggers.db (1998) Re:Running 2 two WebCatalog.acgi's (1996) WebDNAmonitor running but webcat won't start. (2002) Return records from another (1997) Webcatalog server support (1997) Deleting with contexts (2001) Possible to reset Linux file permissions w/in webcat [shell] ? (2000) Running _every_ page through WebCat ? (1997) Major bug report on rootbeer (1997) Can a database get stomped by simultaneous access? (1997) Signal Raised Error (1997) [WebDNA] Parsing XML...again... (2010) problems with 2 tags (1997) Duplicate Cart Numbers (1999) Where's Cart Created ? (1997) Trapping already submitted carts (2000) hiding return characters (2000) Alternating colors (1997)