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:
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)