Re: Writefile illegal characters ?

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 60595
interpreted = N
texte = Thanks for thinking about this.... the problem emerged when writing out=20= individual VCF cards for a multinational company. You are right about character mapping. As I use BBEdit I always set=20 Character set to Latin 1 on my Mac - as this is what WebDNA uses. Your suggestion didnt work it just writes out a file labelled=20 "TéST.txt.txt" Is this a problem that can be corrected inside WebDNA? or an OS problem? Yours Philip. On 22 Dec 2004, at 16:30, John Peacock wrote: >> [Writefile T=E9ST.txt]TEST[/Writefile] > > Just because the filesystem supports extended ASCII characters doesn't=20= > mean that all applications will (or even need to). In particular, the=20= > character you use above is not portable (since it depends on a=20 > particular character mapping). If you typed that same %E9 on a=20 > machine using a German or Russian character set (non-unicode I mean),=20= > it would be something completely different. > > You could try using a Character Entity Reference: > > [Writefile [UnURL]TéST.txt[/UnURL].txt]TEST[/Writefile] > > but I wouldn't expect that to work either. I18N (Internationalization)=20= > is perhaps the hardest thing to get right, apart from correctly=20 > handling L10N (Localization)... > > John > > --=20 > 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=20 > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- 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)
Thanks for thinking about this.... the problem emerged when writing out=20= individual VCF cards for a multinational company. You are right about character mapping. As I use BBEdit I always set=20 Character set to Latin 1 on my Mac - as this is what WebDNA uses. Your suggestion didnt work it just writes out a file labelled=20 "TéST.txt.txt" Is this a problem that can be corrected inside WebDNA? or an OS problem? Yours Philip. On 22 Dec 2004, at 16:30, John Peacock wrote: >> [Writefile T=E9ST.txt]TEST[/Writefile] > > Just because the filesystem supports extended ASCII characters doesn't=20= > mean that all applications will (or even need to). In particular, the=20= > character you use above is not portable (since it depends on a=20 > particular character mapping). If you typed that same %E9 on a=20 > machine using a German or Russian character set (non-unicode I mean),=20= > it would be something completely different. > > You could try using a Character Entity Reference: > > [Writefile [unurl]TéST.txt[/UnURL].txt]TEST[/Writefile] > > but I wouldn't expect that to work either. I18N (Internationalization)=20= > is perhaps the hardest thing to get right, apart from correctly=20 > handling L10N (Localization)... > > John > > --=20 > 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=20 > > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- 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/ Happy Christmas from Phil!

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:

New NT beta available (1997) problems with 2 tags (1997) WebCat2 - [format thousands] (1997) emailer and bad addresses (1997) Why is my easy [AddLineItems] NOT working?? (2000) Emailer 1.01 bombs (1997) WebMerchant and Mac Auth Hub Help Please (1999) Database Security Rev., (2002) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Location of Browser Info.txt file (1997) RE: 2nd WebCatalog2 Feature Request (1996) WebCatalog Hosting (1996) Cyberstudio and WebDNA (1997) suffix mapping, use of cache, etc. (1997) Modifying order output (1997) Information on Vieworders.tpl (1998) Explorer 3.0/ Access Denied! (1997) Cookies (1999) Banner DNA (1997) rnsearch on date (2003)