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:

[WebDNA] Searching Possible Bug (2009) looping table rows (1999) [ot] New List. Was: Webcat no longer supported? (2006) Emailer help....! (1997) Multiple fields on 1 input (1997) Duplicate Cart #'s (1998) Re:quit command on NT (1997) customers getting same cart (2004) NewCart+Search with one click ? (1997) WebCatalog 3.0 manual in binder (1998) [WebDNA] Version 8 (2014) Encrypt Users.db problem (1998) GoLive CyberStudio 1.0.1 (1997) Format of Required fields error message (1997) Attention SM: Trigger Bug? (2000) Talk Archives down? (2002) could someone please try this - it's very quick and easy (2000) Question on the sandbox (2003) How to add commas to number displays (2004) [WebDNA] Using Grep to pull links from a variable (2014)