Re: [WebDNA] Foreign characters (2009)

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102308
interpreted = N
texte = I guess it will depend on your encoding, but a table like this should =20= help: [table name=3Dt1&fields=3Dfrom,to] =E9e =E8e =EAe =EBe =FBu =F9u =FCu =EEi =EDi =EFi =F3o =FCu =DAU =D3O =CDI =F1n =D1N =C9E =C8E =E7c =E0a =C1A =E0a =E1a =CAE =C0A [/table] Then, when you search your caf=E9, [Search db=3Dbase.db&woNAMEdata=3Dcaf=E9= =20 [convertchars table=3Dt1]caf=E9[/convertchars]].... It will search for "caf=E9" or "cafe" - chris On Mar 31, 2009, at 12:25, Donovan Brooke wrote: > Cristi=E1n Tapia wrote: > [snip] > > > I think you'd have to build a convertwords > table or database and do 'word or' searches. > > So, if a user punches in: 'cafe' > > on the resulting page, you'd do something > like: > > [text]textKeyWords=3D[convertwords = db=3DLanguageConvert.db][formKeyWords]=20 > [/convertwords][/text] > > > [search db=3Dsome.db[!] > [/!]&woDESCRIPTdatarq=3D[url][textKeyWords][/url][!] > [/!]&DESCRIPTword=3Dww] > > Your convertwords would look something like: > --LanguageConvert.db-- > FromTo > cafecaf=E9cafe > etc.. > ---------------------- > > That would make the search: > [search db=3Dsome.db[!] > [/!]&woDESCRIPTdatarq=3Dcaf=E9%20cafe[!] > [/!]&DESCRIPTword=3Dww] > > > Where you'd compile a list of these types of words, > I have no idea. However, WebDNA is doing it's job.. > 'cafe' and 'caf=E9' are not the same so they would > not match normally. > > If someone *does* find or compile a list of > this type of stuff, it would be a good thing > to offer to the community I think. > > Donovan > > > > > --=20 > Donovan D. Brooke PH: 1 (608) 770-3822 > ------------------------------------------------ > VP > WebDNA Software Corporation > 16192 Coastal Highway > Lewes, DE 19958 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Foreign characters (2009) (Frank Nordberg 2009)
  2. Re: [WebDNA] Foreign characters (2009) (Patrick McCormick 2009)
  3. RE: [WebDNA] Foreign characters (2009) ("Olin Lagon" 2009)
  4. Re: [WebDNA] Foreign characters (2009) (christophe.billiottet@webdna.us 2009)
  5. Re: [WebDNA] Foreign characters (2009) (Donovan Brooke 2009)
  6. Re: [WebDNA] Foreign characters (2009) (=?ISO-8859-1?Q?Cristi=E1n_Tapia?= 2009)
  7. Re: [WebDNA] Foreign characters (2009) (Frank Nordberg 2009)
  8. Re: [WebDNA] Foreign characters (2009) (Donovan Brooke 2009)
  9. Re: [WebDNA] Foreign characters (2009) (Patrick McCormick 2009)
  10. Re: [WebDNA] Foreign characters (2009) (Donovan Brooke 2009)
  11. Re: [WebDNA] Foreign characters (2009) (christophe.billiottet@webdna.us 2009)
  12. Re: [WebDNA] Foreign characters (2009) ("Dan Strong" 2009)
  13. Re: [WebDNA] Foreign characters (2009) (Donovan Brooke 2009)
  14. Re: [WebDNA] Foreign characters (2009) (Tom Duke 2009)
  15. Re: [WebDNA] Foreign characters (2009) ("Dan Strong" 2009)
  16. [WebDNA] Foreign characters (2009) (=?ISO-8859-1?Q?Cristi=E1n_Tapia?= 2009)
I guess it will depend on your encoding, but a table like this should =20= help: [table name=3Dt1&fields=3Dfrom,to] =E9e =E8e =EAe =EBe =FBu =F9u =FCu =EEi =EDi =EFi =F3o =FCu =DAU =D3O =CDI =F1n =D1N =C9E =C8E =E7c =E0a =C1A =E0a =E1a =CAE =C0A [/table] Then, when you search your caf=E9, [Search db=3Dbase.db&woNAMEdata=3Dcaf=E9= =20 [convertchars table=3Dt1]caf=E9[/convertchars]].... It will search for "caf=E9" or "cafe" - chris On Mar 31, 2009, at 12:25, Donovan Brooke wrote: > Cristi=E1n Tapia wrote: > [snip] > > > I think you'd have to build a convertwords > table or database and do 'word or' searches. > > So, if a user punches in: 'cafe' > > on the resulting page, you'd do something > like: > > [text]textKeyWords=3D[convertwords = db=3DLanguageConvert.db][formKeyWords]=20 > [/convertwords][/text] > > > [search db=3Dsome.db[!] > [/!]&woDESCRIPTdatarq=3D[url][textKeyWords][/url][!] > [/!]&DESCRIPTword=3Dww] > > Your convertwords would look something like: > --LanguageConvert.db-- > FromTo > cafecaf=E9cafe > etc.. > ---------------------- > > That would make the search: > [search db=3Dsome.db[!] > [/!]&woDESCRIPTdatarq=3Dcaf=E9%20cafe[!] > [/!]&DESCRIPTword=3Dww] > > > Where you'd compile a list of these types of words, > I have no idea. However, WebDNA is doing it's job.. > 'cafe' and 'caf=E9' are not the same so they would > not match normally. > > If someone *does* find or compile a list of > this type of stuff, it would be a good thing > to offer to the community I think. > > Donovan > > > > > --=20 > Donovan D. Brooke PH: 1 (608) 770-3822 > ------------------------------------------------ > VP > WebDNA Software Corporation > 16192 Coastal Highway > Lewes, DE 19958 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > old archives: http://dev.webdna.us/TalkListArchive/ christophe.billiottet@webdna.us

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:

[WebDNA] formdata written into a db (2016) Running 2 two WebCatalog.acgi's (1996) Multiple fields on 1 input (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Emailer on NT CAN'T handle large email files (1997) WebCatalog hosting (2000) $flushcache causes crash (2000) [addlineitems] as oppossed to url command=add (2000) Emailer setup (1997) maximu values for sendmail! (1997) New syntax feedback for 4.0 (2000) Up and running ... at last !! (1997) [cart] clarification... (1997) CC: (1998) slide show (2002) Cancel Subscription (1996) Dealer Locator (zip codes) (2003) syntax question, not in online refernce (1997) Sorting (2005) Order not created error (1997)