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:

eMailer replacement? (1998) Execute Applescript (1997) NT vs Mac (1997) headers (2004) cookies crumbling (1999) RequiredFields template (1997) Date search and sendmail (1997) [WebDNA] [replace] bug in v7.0? (2010) hyperlinking unique input strings on the fly when displaying in HTML (2000) NT Email Stops Sending (2000) OSX 10.2.6/iTools 7.0/WebDNA 5.0 installation (2003) Web*3 virtual hosting Webcatalog problem (1998) [WebDNA] CMS in WEBDNA (2009) Database Options (1997) japanese characters (1997) Almost a there but..bye bye NetCloak (1997) Test (2006) setlineitem quantity to zero? (2000) many-to-one problem (1998) E-mailer error codes (1997)