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:
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:
SearchTitle Question (1998)
webcat and OS 8 (1997)
Opinion: [input] should be called [output] ... (1997)
BinaryBody problem ...... (2003)
No Wanna Duppys (1998)
mass mailing (1998)
protect tag on NT IIS (1997)
[authenticate] (1999)
[decrypt seed=seed][getchars (1999)
Me know logical no need (2002)
Credit Card Number checking (1997)
Multiple fields on 1 input (1997)
Credit Card processing (1998)
Protecting a folder (2000)
[setcookie] (2001)
NEW 4.X BUG?!?!?!? - WAS: The force has left me. (2002)
turning every 5th line red (1998)
New York City sales tax database needed (1997)
RE: protect tag not working (1998)
help needed w/ search params (1998)