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:
Location of Browser Info.txt file (1997)
WebCatalog/Mac 2.1b2 - PIXO (1997)
shownext example (2001)
Access Denied! But why? (1997)
Setting up shop (1997)
[WebDNA] To Flush, to commit or to...? (2014)
Navigator 4.01 (1997)
all records returned. (1997)
Add to Cart & List of Products (1997)
Beta Documentation (1997)
Emailer problems solved (1997)
Error Msg (1998)
Uppdate Qty (2000)
authenticate broken when url not fully specified? (2000)
flushdatabases (1997)
SetHeader (1997)
PowerKey and PageSentry not playing nice (2000)
[lineitems] (2000)
Re[2]: Base64 encryption limitations? (1999)
math on date? (1997)