Re: French characters in variables
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 39691
interpreted = N
texte = That's what the [ConverChars db=french.db] does, is converts the invalid characters;e.g.:From To� À� Á� à� áand it works fine when displaying text on the form, whether it is within the html, orread from a a database, or entered into a field (form variable).But as soon as you try to pass it to another form, using GET or POST, the charactersdon't get transfered.Note; If I actually type �l�ctroniques into the URL, it will pass that text to theform and it works fine, but I cannot get it from a form variable into the URL correctly(without manually typing the text, which negates the whole purpose of the form)-------------------------Matthew Bohne wrote:> Could you use the ampersand HTML tags?>> � = É � = é>> >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 ?> >> >Thank you,> >Larry Trudelle> >Toronto, Ontario, Canada>> -------------------------------------------------------------> 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:
That's what the [ConverChars db=french.db] does, is converts the invalid characters;e.g.:From To� À� Á� à� áand it works fine when displaying text on the form, whether it is within the html, orread from a a database, or entered into a field (form variable).But as soon as you try to pass it to another form, using GET or POST, the charactersdon't get transfered.Note; If I actually type �l�ctroniques into the URL, it will pass that text to theform and it works fine, but I cannot get it from a form variable into the URL correctly(without manually typing the text, which negates the whole purpose of the form)-------------------------Matthew Bohne wrote:> Could you use the ampersand HTML tags?>> � = É � = é>> >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 ?> >> >Thank you,> >Larry Trudelle> >Toronto, Ontario, Canada>> -------------------------------------------------------------> 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:
"+" in math context (2004)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
OT: Unix Geek Needed (2005)
[shownext] and descending order (1997)
info (1997)
Please.. copies of Digest for 7/29 and 7/30? (1997)
[WebDNA] Securing form input on WEBDNA (2018)
eAuthorize experience ... ? (2002)
Using Currencies other than Dollars (1997)
WebCat2 Append problem (B14Macacgi) (1997)
Not really WebCat (1997)
Bug Report, maybe (1997)
search results through frames (2000)
WebCommerce: Folder organization ? (1997)
Date search - yes or no (1997)
WCS Newbie question (1997)
Search in 2 or more catalogs (1997)
Search returns all, not 20 (1997)
showcart is slow (1998)
Max Record length restated as maybe bug (1997)