Re: French characters in variables

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39704
interpreted = N
texte = You're example works, but if I try using Ne pas déranger instead of Oh làlà It results in Ne pas dÈranger --- the (é) has not been been converted correctly.Please try it on your computer and let me know if it does the same thing. -------------------- Clement Ross wrote:> Since you use the right META, why do you need to use ConvertChars? As long as the > accentuated text in the tpl is typed from a PC (vs. a Mac), you should not need > ConvertChars. > > Also, accentuated text entered from a form will be saved in a database using PC ASCII and > will be displayed correctly without ConvertChars. > > I'm not sure if it's relevant but try the following two .tpl and you'll see that you > don't need any ConvertChars between the two forms: > > :::::::::::::: > form1.tpl > :::::::::::::: > > > Form1 > > >
> Enter french chars here:
>
> >
> > > :::::::::::::: > form2.tpl > :::::::::::::: > > > Form2 > > >
> name=form1var1&exact=T][value][/formvariables]>
> Accentuated text = [formvariables name=form1var2&exact=T][value][/formvariables] >
> > > Clem. > > Larry Trudelle wrote: > > > I am already using; > > > > in my web pages. > > > > -------------------------- > > Christer Olsson wrote: > > > > > >Hello. Does anyone have experience passing French accented text in > > > >form variables ? > > > > > > > >Here's what I have done: > > > > > > > >I am using [ConvertChars db=french.db] the text [/ConvertChars] in my > > > >forms and it works perfectly within the form, but if I put text into a > > > >form variable and pass it to another form, the text is mixed-up in the > > > >process. > > > > > > > >For example: > > > > > > > >When I place Éléments électroniques on a form using ConvertChars it > > > >appears as Éléments électroniques > > > > > > > >If I place it in a text field, it appears as Éléments électroniques. > > > > > > > >However, when I pass the variable to a second form, the variable appears > > > >as ÉlÈments Èlectroniques on the second form. > > > > > > > >The second form is using a ConvertChars, same as the first form, and it > > > >does display the correct text if I put it on the form, but not if the > > > >text is passed as a variable. > > > > > > > >If I use a GET method, the URL shows the text as > > > >%C9l%E9ments+%E9lectroniques. > > > > > > > >Anyone have any ideas ? > > > > > > Search the list archives for postings from me with ISO-8859-1 in the body. > > > -- > > > > > > ************************************************************* > > > Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 > > > Ljusa Idéer AB S-211 37 Malmoe Fax +46 40 97 99 77 > > > Sweden http://www.ljusaideer.se > > > > > ------------------------------------------------------------- > 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://search.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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: French characters in variables (Larry Trudelle 2001)
  2. Re: French characters in variables (Tom Duke 2001)
  3. Re: French characters in variables (Christer Olsson 2001)
  4. Re: French characters in variables (Clement Ross 2001)
  5. Re: French characters in variables (John Peacock 2001)
  6. Re: French characters in variables (Larry Trudelle 2001)
  7. Re: French characters in variables (Larry Trudelle 2001)
  8. Re: French characters in variables (Michael Davis 2001)
  9. Re: French characters in variables (Larry Trudelle 2001)
  10. Re: French characters in variables (Clement Ross 2001)
  11. Re: French characters in variables (John Peacock 2001)
  12. Re: French characters in variables (Glenn Busbin 2001)
  13. Re: French characters in variables (Larry Trudelle 2001)
  14. Re: French characters in variables (Christer Olsson 2001)
  15. Re: French characters in variables (John Peacock 2001)
  16. Re: French characters in variables (Larry Trudelle 2001)
  17. Re: French characters in variables (Christer Olsson 2001)
  18. Re: French characters in variables (Larry Trudelle 2001)
  19. Re: French characters in variables (Matthew Bohne 2001)
  20. French characters in variables (Larry Trudelle 2001)
You're example works, but if I try using Ne pas déranger instead of Oh làlà It results in Ne pas dÈranger --- the (é) has not been been converted correctly.Please try it on your computer and let me know if it does the same thing. -------------------- Clement Ross wrote:> Since you use the right META, why do you need to use ConvertChars? As long as the > accentuated text in the tpl is typed from a PC (vs. a Mac), you should not need > ConvertChars. > > Also, accentuated text entered from a form will be saved in a database using PC ASCII and > will be displayed correctly without ConvertChars. > > I'm not sure if it's relevant but try the following two .tpl and you'll see that you > don't need any ConvertChars between the two forms: > > :::::::::::::: > form1.tpl > :::::::::::::: > > > Form1 > > >
> Enter french chars here:
>
> >
> > > :::::::::::::: > form2.tpl > :::::::::::::: > > > Form2 > > >
> name=form1var1&exact=T][value][/formvariables]>
> Accentuated text = [formvariables name=form1var2&exact=T][value][/formvariables] >
> > > Clem. > > Larry Trudelle wrote: > > > I am already using; > > > > in my web pages. > > > > -------------------------- > > Christer Olsson wrote: > > > > > >Hello. Does anyone have experience passing French accented text in > > > >form variables ? > > > > > > > >Here's what I have done: > > > > > > > >I am using [ConvertChars db=french.db] the text [/ConvertChars] in my > > > >forms and it works perfectly within the form, but if I put text into a > > > >form variable and pass it to another form, the text is mixed-up in the > > > >process. > > > > > > > >For example: > > > > > > > >When I place Éléments électroniques on a form using ConvertChars it > > > >appears as Éléments électroniques > > > > > > > >If I place it in a text field, it appears as Éléments électroniques. > > > > > > > >However, when I pass the variable to a second form, the variable appears > > > >as ÉlÈments Èlectroniques on the second form. > > > > > > > >The second form is using a ConvertChars, same as the first form, and it > > > >does display the correct text if I put it on the form, but not if the > > > >text is passed as a variable. > > > > > > > >If I use a GET method, the URL shows the text as > > > >%C9l%E9ments+%E9lectroniques. > > > > > > > >Anyone have any ideas ? > > > > > > Search the list archives for postings from me with ISO-8859-1 in the body. > > > -- > > > > > > ************************************************************* > > > Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 > > > Ljusa Idéer AB S-211 37 Malmoe Fax +46 40 97 99 77 > > > Sweden http://www.ljusaideer.se > > > > > ------------------------------------------------------------- > 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://search.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://search.smithmicro.com/ Larry Trudelle

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:

Examples Link? (2000) Grep search not working (2002) The List is Changing (1997) WebMerchant 1.6 and https (1997) Separate SSL Server (1997) More Applescript (1997) WebCat2 - Getting to the browser's username/password data (1997) [WebDNA] [OT] Multiple SSL certs on same server? (2014) Poll using WebCat (1998) WebCat2b13MacPlugIn - syntax to convert date (1997) problems with 2 tags shakur (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Interpret Around Contexts? (2000) Banners (1997) [WebDNA] Triggers not working (2011) Country & Ship-to address & other fields ? (1997) Adding To items to cart at once (1999) OT: How to get more traffic to a site? (2005) Emailer setup (1997) [WebDNA] WebDNA and Google Geo Tagging (2012)