Re: [WebDNA] Foreign characters (2009)

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102324
interpreted = N
texte = Cristián Tapia wrote: > Thanks for all the hints! > > The solution Chris mentioned works perfectly if you search for "café", > because it removes the accented character and also looks for the word > "cafe". But, as all the words in my client's database are properly > spelled and you won't find any record with "cafe" but "café" in it, if > the user types it incorrectly (without the accented character), which > happens a lot, it won't return any records. > > If I try to make Chris's solution to work backwards, it will look for > cáfé or mámá or sólúcíón (it will put an accent in every vowel) and > there's no way I can tell the engine where the accented character should > go, so I'm stuck again. > > I wish future versions of WebDNA could work the same way Google handles > this kind of issue (search for the word regardless of accented > characters). Is there any chance? > > Regards, the Google team had to code it just like you and I. I guess you will have to look into a word conversion list as I suggested. (as apposed to a character conversion list) Donovan -- Donovan D. Brooke PH: 1 (608) 770-3822 ------------------------------------------------ VP WebDNA Software Corporation 16192 Coastal Highway Lewes, DE 19958 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)
Cristián Tapia wrote: > Thanks for all the hints! > > The solution Chris mentioned works perfectly if you search for "café", > because it removes the accented character and also looks for the word > "cafe". But, as all the words in my client's database are properly > spelled and you won't find any record with "cafe" but "café" in it, if > the user types it incorrectly (without the accented character), which > happens a lot, it won't return any records. > > If I try to make Chris's solution to work backwards, it will look for > cáfé or mámá or sólúcíón (it will put an accent in every vowel) and > there's no way I can tell the engine where the accented character should > go, so I'm stuck again. > > I wish future versions of WebDNA could work the same way Google handles > this kind of issue (search for the word regardless of accented > characters). Is there any chance? > > Regards, the Google team had to code it just like you and I. I guess you will have to look into a word conversion list as I suggested. (as apposed to a character conversion list) Donovan -- Donovan D. Brooke PH: 1 (608) 770-3822 ------------------------------------------------ VP WebDNA Software Corporation 16192 Coastal Highway Lewes, DE 19958 Donovan Brooke

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:

Location of Browser Info.txt file (1997) WebCat2: Items xx to xx shown, etc. (1997) why why why (2004) Exclamation point (1997) Setting up WebCatalog with Retail Pro data (1996) hmmm (2006) writing orders to a db (1997) problems with 2 tags (1997) Associative lookup style? (1997) test (2003) MATH TIME (1997) Initiating NewCart (1997) SQLConnect to Oracle database (2004) [WriteFile] problems (1997) Re:2nd WebCatalog2 Feature Request (1996) New command suggestion (1997) [WebDNA] [BULK] Problem in Database "\x0B" (2011) help testing quicktime delivery (1997) I've been framed by webcatalog! Does anyone know the way out? (2000) WC2f3 (1997)