Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Here's what I am trying to do in simple context:I have a search page which gives the user some pop-up lists. The lists are populated from aDB file using standard web-cat search methods. The user selects a list option, then clicks asubmit button.The Search values from the selected list are passed to a Results page with Command='search'.This works perfectly when using the English version.The French version requires French DB values, which are just translations of the English DB.The pop-up lists fo show the French text with the correct accents,but when the values are passed to the Results page, the text is not the same as whe was sent.Here's the specific problem:When values are entered into a form variable, either by user entry, or by placing the textwithin the HTML, when the value is passed to another form, using either a Post or Get, someaccented characters are screwed-up.For example:If I put Ne pas déranger into a form field and pass it to the second form,and use a GET the URL shows Ne+pas+d%E9ranger,and the field variable on the second form shows Ne pas dÈranger.This happens regardless of whether you use GET or POST.It should show the original value from the first form; Ne pas déranger.However, if I simply place the text within the HTML of second form, without passing itthrough a variable,it appears as Ne pas déranger.If a pull datat from a database, and that data has french accented characters, the text isdisplayed correctly, I just cannot pass it to another form as a variable.Here is the conversion db contents, and the basic HTML for the 2 test forms.--- contents of frenchconversions.bd ---from toÀ ÀÁ ÁÂ ÂÃ ÃÄ ÄÇ ÇÈ ÈÉ ÉÊ ÊË ËÌ ÌÍ ÍÎ ÎÏ ÏÒ ÒÓ ÓÔ ÔÕ ÕÖ ÖÙ ÙÚ ÚÛ ÛÜ Üà àá áâ âã ãä äç çè èé éê êë ëì ìí íî îï ïò òó óô ôõ õö öù ùú úû ûü üÿ ÿ’ '« «» »--- HTML FOR FORM ONE(SEND):----[ConvertChars db=frenchconversions.db]SOME FRENCH WORDS:
Québec
Caractéristiques
Ne pas déranger
cantonnière
[/ConvertChars]--- HTML FOR FORM TWO(RECEIVE):----[ConvertChars db=frenchconversions.db]SOME FRENCH WORDS:
Québec
Caractéristiques
Ne pas déranger
cantonnière
Form Variables:
[formvariables]
[index] - [name] - [value][/formvariables]
[/convertchars]Thank you for your help.---------------------John Peacock wrote:> Larry Trudelle wrote:> >> > Thanks, I changed the conversion db, as follows, but it still does not convert the form> > variables when passed between forms.> >>> And why would you think it would? The [convertchars] only applies to text you> have included inside the context. I guess you need to show us some more of> what you are doing (please don't post the entire HTML page, just the important> bits.>> Are the French characters being keyed by the user into a text box? Are you> pulling data from a database and creating the link yourself? Did you> remember to flush your databases after you made the change to the conversion> db?>> John>> --> John Peacock> Director of Information Research and Technology> Rowman & Littlefield Publishing Group> 4720 Boston Way> Lanham, MD 20706> 301-459-3366 x.5010> fax 301-429-5747>> -------------------------------------------------------------> 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:
WebCat with WebTen (1998)
Criminal activity reappears on this talk list ... (2002)
taxTotal, grandTotal (1997)
Help with dates (2001)
This [search] worked before update to 4.5.1 (2003)
SMSI - MacWorld (2005)
[carts] and databases (1997)
WC2b12: Yes, Formulas.db is for real (1997)
Solaris + WebCat (2001)
New Media Careers -- Jobs! (1998)
Where has WebDNA shown up in your life? (2003)
TPC Connect (1999)
[WebDNA] Serial numbers and pricing for WebDNA 7.0 (2011)
Setting up the server (1997)
Secure server question (1997)
Adding Message to Order (1997)
RE: [WebDNA] html email.. should be a no-brainer.. but it is not parsing. (?) (2010)
Bug Report, maybe (1997)
Cart Number Propagation (1997)
SiteGaurd file Cache vs webcatalog cache (1997)