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> > >
> >> ::::::::::::::> form2.tpl> ::::::::::::::> > >
Form2> > >
> >> 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:
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> > > > >> ::::::::::::::> form2.tpl> ::::::::::::::> > > Form2> > > > >> 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)