Re: French characters in variables
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 39698
interpreted = N
texte = Thanks, I changed the conversion db, as follows, but it still does not convert the formvariables when passed between forms.from toÀ ÀÁ ÁÂ ÂÃ ÃÄ ÄÇ ÇÈ ÈÉ ÉÊ ÊË ËÌ ÌÍ ÍÎ ÎÏ ÏÒ ÒÓ ÓÔ ÔÕ ÕÖ ÖÙ ÙÚ ÚÛ ÛÜ Üà àá áâ âã ãä äç çè èé éê êë ëì ìí íî îï ïò òó óô ôõ õö öù ùú úû ûü üÿ ÿ’ '« «» »John Peacock wrote:> Larry Trudelle wrote:> >> > That's what the [ConverChars db=french.db] does, is converts the invalid characters;> > e.g.:> > From To> > À À> > Á Á> > à à> > á á>> Those are not HTML entity reference; they are the decimal representation of> those characters in ISO Latin1. The table should be this:>> À Á> Á À> à á> á à>> >> > and it works fine when displaying text on the form, whether it is within the html, or> > read 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 characters> > don't get transfered.> >> > Note; If I actually type Éléctroniques into the URL, it will pass that text to the> > form 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)> >>> You cannot use decimal/hex codes in URL's; you must use the HTML entity> equivalent's. Just because you can type it into the URL box doesn't mean> that the browser is not converting it for you on the fly.>> I have not tested this, but you could try wrapping your URL entries in [url]> and see if it correctly converts the extended ASCII characters to é> for example. However, you should just change your [ConvertChars] db instead.>> HTH>> 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/
Associated Messages, from the most recent to the oldest:
Thanks, I changed the conversion db, as follows, but it still does not convert the formvariables when passed between forms.from toÀ ÀÁ ÁÂ ÂÃ ÃÄ ÄÇ ÇÈ ÈÉ ÉÊ ÊË ËÌ ÌÍ ÍÎ ÎÏ ÏÒ ÒÓ ÓÔ ÔÕ ÕÖ ÖÙ ÙÚ ÚÛ ÛÜ Üà àá áâ âã ãä äç çè èé éê êë ëì ìí íî îï ïò òó óô ôõ õö öù ùú úû ûü üÿ ÿ’ '« «» »John Peacock wrote:> Larry Trudelle wrote:> >> > That's what the [ConverChars db=french.db] does, is converts the invalid characters;> > e.g.:> > From To> > À À> > Á Á> > à à> > á á>> Those are not HTML entity reference; they are the decimal representation of> those characters in ISO Latin1. The table should be this:>> À Á> Á À> à á> á à>> >> > and it works fine when displaying text on the form, whether it is within the html, or> > read 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 characters> > don't get transfered.> >> > Note; If I actually type Éléctroniques into the URL, it will pass that text to the> > form 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)> >>> You cannot use decimal/hex codes in URL's; you must use the HTML entity> equivalent's. Just because you can type it into the URL box doesn't mean> that the browser is not converting it for you on the fly.>> I have not tested this, but you could try wrapping your URL entries in [url]> and see if it correctly converts the extended ASCII characters to é> for example. However, you should just change your [convertchars] db instead.>> HTH>> 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:
[search] in formulas.db (1997)
Grouping search fields, etc. (1997)
OSX Applescripts -- Anyone? please? (2004)
international time (1997)
LetterRip and WebCat & more (1998)
Emailer (1997)
move files (2000)
unsubscribe (1997)
Quit revisited (1997)
Credit Card Verification.... (1998)
[OT] Next Gen Browsers [Was] Decimal point in search.... (2004)
mass mailing (1998)
remotely creating and populating a stock inventory db - almost there! (1999)
suggestions for a good text editor on windows? (2005)
DomainList (2005)
HELP WITH DATES (1997)
Access and WebDNA (2002)
WebCat chatroom (1997)
Summary search -- speed (1997)
docs for WebCatalog2 (1997)