Re: Writefile illegal characters ?

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 60597
interpreted = N
texte = Happy Christmas from Phil! wrote: > Your suggestion didnt work it just writes out a file labelled > "TéST.txt.txt" > > Is this a problem that can be corrected inside WebDNA? or an OS problem? I don't think that "corrected" is the correct term here; perhaps "extended" is better. WebDNA doesn't understand any extended ASCII characters in the [writefile] context and probably not for most other OS related contexts. For one thing because it is an incredibly difficult task, as it depends on the character set. For another thing, it would require consistent system library support over the multiple platforms that WebDNA currently supports (and I can guarantee that's not true). In an ideal world, WebDNA would have native Unicode support, but I wouldn't count on it (it's an incredible pain and even that wouldn't necessarily fix it the way you'd expect it to be fixed). As a fallback, write the file to disk with the HTML Character Entity Reference, then use a [shell] context to call a script which renames that file using whatever character translation you think will work. However, I have to twist the words of Inigo Montoya: "You keep trying to use extended ASCII characters. I don't think they mean what you think they mean..." John ------------------------------------------------------------- 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: Writefile illegal characters ? ( John Peacock 2004)
  2. Re: Writefile illegal characters ? ( Happy Christmas from Phil! 2004)
  3. Re: Writefile illegal characters ? ( Happy Christmas from Phil! 2004)
  4. Re: Writefile illegal characters ? ( Kenneth Grome 2004)
  5. Re: Writefile illegal characters ? ( John Peacock 2004)
  6. Writefile illegal characters ? ( Happy Christmas from Phil! 2004)
Happy Christmas from Phil! wrote: > Your suggestion didnt work it just writes out a file labelled > "TéST.txt.txt" > > Is this a problem that can be corrected inside WebDNA? or an OS problem? I don't think that "corrected" is the correct term here; perhaps "extended" is better. WebDNA doesn't understand any extended ASCII characters in the [writefile] context and probably not for most other OS related contexts. For one thing because it is an incredibly difficult task, as it depends on the character set. For another thing, it would require consistent system library support over the multiple platforms that WebDNA currently supports (and I can guarantee that's not true). In an ideal world, WebDNA would have native Unicode support, but I wouldn't count on it (it's an incredible pain and even that wouldn't necessarily fix it the way you'd expect it to be fixed). As a fallback, write the file to disk with the HTML Character Entity Reference, then use a [shell] context to call a script which renames that file using whatever character translation you think will work. However, I have to twist the words of Inigo Montoya: "You keep trying to use extended ASCII characters. I don't think they mean what you think they mean..." John ------------------------------------------------------------- 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:

Further tests with the infamous shipCost (1997) Sort Order on a page search (1997) Uh...can someone help me out with the b10? (1997) First postarg not taking in $Commands (1997) Beta version-Mac? (was Emailer update for Mac?) (1998) Purchased cart being overwritten - still !?? (1997) Thanks for tips, more quest (1997) Cookies (1999) RAM problems, [appendfile] problems (1998) Creating folders and deleting files (1997) Show shoppingcart after remove last item (1997) b18 problem on NT 4.0 (1997) Alternating colors (1997) 2.0Beta Command Ref (can't find this instruction) (1997) Special characters in field names (1998) Q: old cart serial problem (2000) Fields/Forms Processing (1998) WebCat on Linux (2000) WebCatalog Mac and cgi-bin (WebSTAR 2.0) (1997) WebCat (or other) Indexing (1999)