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------------------------------------------------VPWebDNA Software Corporation16192 Coastal HighwayLewes, DE 19958
Associated Messages, from the most recent to the oldest:
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------------------------------------------------VPWebDNA Software Corporation16192 Coastal HighwayLewes, 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)