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:

can you take a look (2003) SiteGuard Use Question (1997) Modifying Carts (1999) writing db to disk (1997) Setting up WebCatalog with Retail Pro data (1996) Problems with webcat 2.01 for NT (1997) Tiny feature request (2000) Possible Bug in 2.0b15.acgi (1997) Summing fields (1997) Not reading code (1997) [Reload mydata.db] (1998) HTML encoding in URLs (1997) UPS XML (2005) Stopping NT WebCat service (1998) Web-based email solution (2003) Web Hosters with WebCatalog support (2000) [WebDNA] [listwords] and [index] (2009) I'm new be kind (1997) Emailer setup (1997) [Summary] re: Emailer setup (1997)